import{S as $t,i as dt,s as yt,e as l,k as p,w as g,t as h,M as wt,c as n,d as t,m as f,a as i,x as _,h as m,b as s,G as a,g as o,y as b,L as gt,q as S,o as E,B as k,v as _t}from"../chunks/vendor-hf-doc-builder.js";import{I as U}from"../chunks/IconCopyLink-hf-doc-builder.js";import{C as ze}from"../chunks/CodeBlock-hf-doc-builder.js";function bt(Ke){let u,re,c,A,z,H,Ae,K,Pe,se,D,xe,oe,v,P,Q,L,Ie,V,Ne,pe,O,Be,W,He,fe,$,x,X,C,Le,Y,Oe,he,J,Ce,me,d,I,Z,F,Fe,ee,Ge,ue,G,ce,y,N,te,R,Re,ae,je,ve,j,$e,w,B,le,q,qe,ne,Me,de,M,ye,T,ie,Te,De,we;return H=new U({}),L=new U({}),C=new U({}),F=new U({}),G=new ze({props:{code:"pip install simulate[gym]",highlighted:'pip <span class="hljs-keyword">install</span> simulate[gym]'}}),R=new U({}),j=new ze({props:{code:"pip install simulate[sb3]",highlighted:'pip <span class="hljs-keyword">install</span> simulate[sb3]'}}),q=new U({}),M=new ze({props:{code:"pip install simulate[sf]",highlighted:'pip <span class="hljs-keyword">install</span> simulate[sf]'}}),{c(){u=l("meta"),re=p(),c=l("h1"),A=l("a"),z=l("span"),g(H.$$.fragment),Ae=p(),K=l("span"),Pe=h("Simulate"),se=p(),D=l("p"),xe=h("Simulate is a library for easily creating and sharing simulation environments for intelligent agents (e.g. reinforcement learning) or synthetic data generation."),oe=p(),v=l("h2"),P=l("a"),Q=l("span"),g(L.$$.fragment),Ie=p(),V=l("span"),Ne=h("Install"),pe=p(),O=l("p"),Be=h("Install Simulate (preferentially in a virtual environment) with a simple "),W=l("code"),He=h("pip install simulate"),fe=p(),$=l("h2"),x=l("a"),X=l("span"),g(C.$$.fragment),Le=p(),Y=l("span"),Oe=h("Options for Reinforcement Learning Support"),he=p(),J=l("p"),Ce=h("Simulate comes with additional support for the gym API, stable baselines 3 and sample-factory (experimental)"),me=p(),d=l("h3"),I=l("a"),Z=l("span"),g(F.$$.fragment),Fe=p(),ee=l("span"),Ge=h("Gym Installation"),ue=p(),g(G.$$.fragment),ce=p(),y=l("h3"),N=l("a"),te=l("span"),g(R.$$.fragment),Re=p(),ae=l("span"),je=h("Stable Baselines 3 Installation"),ve=p(),g(j.$$.fragment),$e=p(),w=l("h3"),B=l("a"),le=l("span"),g(q.$$.fragment),qe=p(),ne=l("span"),Me=h("Sample Factory Installation (experimental)"),de=p(),g(M.$$.fragment),ye=p(),T=l("p"),ie=l("strong"),Te=h("Note"),De=h(" due to version incompatibilities Stable Baselines 3 and Sample Factory cannot both be installed at the same time."),this.h()},l(e){const r=wt('[data-svelte="svelte-1phssyn"]',document.head);u=n(r,"META",{name:!0,content:!0}),r.forEach(t),re=f(e),c=n(e,"H1",{class:!0});var ge=i(c);A=n(ge,"A",{id:!0,class:!0,href:!0});var Qe=i(A);z=n(Qe,"SPAN",{});var Ve=i(z);_(H.$$.fragment,Ve),Ve.forEach(t),Qe.forEach(t),Ae=f(ge),K=n(ge,"SPAN",{});var We=i(K);Pe=m(We,"Simulate"),We.forEach(t),ge.forEach(t),se=f(e),D=n(e,"P",{});var Xe=i(D);xe=m(Xe,"Simulate is a library for easily creating and sharing simulation environments for intelligent agents (e.g. reinforcement learning) or synthetic data generation."),Xe.forEach(t),oe=f(e),v=n(e,"H2",{class:!0});var _e=i(v);P=n(_e,"A",{id:!0,class:!0,href:!0});var Ye=i(P);Q=n(Ye,"SPAN",{});var Ze=i(Q);_(L.$$.fragment,Ze),Ze.forEach(t),Ye.forEach(t),Ie=f(_e),V=n(_e,"SPAN",{});var et=i(V);Ne=m(et,"Install"),et.forEach(t),_e.forEach(t),pe=f(e),O=n(e,"P",{});var Je=i(O);Be=m(Je,"Install Simulate (preferentially in a virtual environment) with a simple "),W=n(Je,"CODE",{});var tt=i(W);He=m(tt,"pip install simulate"),tt.forEach(t),Je.forEach(t),fe=f(e),$=n(e,"H2",{class:!0});var be=i($);x=n(be,"A",{id:!0,class:!0,href:!0});var at=i(x);X=n(at,"SPAN",{});var lt=i(X);_(C.$$.fragment,lt),lt.forEach(t),at.forEach(t),Le=f(be),Y=n(be,"SPAN",{});var nt=i(Y);Oe=m(nt,"Options for Reinforcement Learning Support"),nt.forEach(t),be.forEach(t),he=f(e),J=n(e,"P",{});var it=i(J);Ce=m(it,"Simulate comes with additional support for the gym API, stable baselines 3 and sample-factory (experimental)"),it.forEach(t),me=f(e),d=n(e,"H3",{class:!0});var Se=i(d);I=n(Se,"A",{id:!0,class:!0,href:!0});var rt=i(I);Z=n(rt,"SPAN",{});var st=i(Z);_(F.$$.fragment,st),st.forEach(t),rt.forEach(t),Fe=f(Se),ee=n(Se,"SPAN",{});var ot=i(ee);Ge=m(ot,"Gym Installation"),ot.forEach(t),Se.forEach(t),ue=f(e),_(G.$$.fragment,e),ce=f(e),y=n(e,"H3",{class:!0});var Ee=i(y);N=n(Ee,"A",{id:!0,class:!0,href:!0});var pt=i(N);te=n(pt,"SPAN",{});var ft=i(te);_(R.$$.fragment,ft),ft.forEach(t),pt.forEach(t),Re=f(Ee),ae=n(Ee,"SPAN",{});var ht=i(ae);je=m(ht,"Stable Baselines 3 Installation"),ht.forEach(t),Ee.forEach(t),ve=f(e),_(j.$$.fragment,e),$e=f(e),w=n(e,"H3",{class:!0});var ke=i(w);B=n(ke,"A",{id:!0,class:!0,href:!0});var mt=i(B);le=n(mt,"SPAN",{});var ut=i(le);_(q.$$.fragment,ut),ut.forEach(t),mt.forEach(t),qe=f(ke),ne=n(ke,"SPAN",{});var ct=i(ne);Me=m(ct,"Sample Factory Installation (experimental)"),ct.forEach(t),ke.forEach(t),de=f(e),_(M.$$.fragment,e),ye=f(e),T=n(e,"P",{});var Ue=i(T);ie=n(Ue,"STRONG",{});var vt=i(ie);Te=m(vt,"Note"),vt.forEach(t),De=m(Ue," due to version incompatibilities Stable Baselines 3 and Sample Factory cannot both be installed at the same time."),Ue.forEach(t),this.h()},h(){s(u,"name","hf:doc:metadata"),s(u,"content",JSON.stringify(St)),s(A,"id","simulate"),s(A,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),s(A,"href","#simulate"),s(c,"class","relative group"),s(P,"id","install"),s(P,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),s(P,"href","#install"),s(v,"class","relative group"),s(x,"id","options-for-reinforcement-learning-support"),s(x,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),s(x,"href","#options-for-reinforcement-learning-support"),s($,"class","relative group"),s(I,"id","gym-installation"),s(I,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),s(I,"href","#gym-installation"),s(d,"class","relative group"),s(N,"id","stable-baselines-3-installation"),s(N,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),s(N,"href","#stable-baselines-3-installation"),s(y,"class","relative group"),s(B,"id","sample-factory-installation-experimental"),s(B,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),s(B,"href","#sample-factory-installation-experimental"),s(w,"class","relative group")},m(e,r){a(document.head,u),o(e,re,r),o(e,c,r),a(c,A),a(A,z),b(H,z,null),a(c,Ae),a(c,K),a(K,Pe),o(e,se,r),o(e,D,r),a(D,xe),o(e,oe,r),o(e,v,r),a(v,P),a(P,Q),b(L,Q,null),a(v,Ie),a(v,V),a(V,Ne),o(e,pe,r),o(e,O,r),a(O,Be),a(O,W),a(W,He),o(e,fe,r),o(e,$,r),a($,x),a(x,X),b(C,X,null),a($,Le),a($,Y),a(Y,Oe),o(e,he,r),o(e,J,r),a(J,Ce),o(e,me,r),o(e,d,r),a(d,I),a(I,Z),b(F,Z,null),a(d,Fe),a(d,ee),a(ee,Ge),o(e,ue,r),b(G,e,r),o(e,ce,r),o(e,y,r),a(y,N),a(N,te),b(R,te,null),a(y,Re),a(y,ae),a(ae,je),o(e,ve,r),b(j,e,r),o(e,$e,r),o(e,w,r),a(w,B),a(B,le),b(q,le,null),a(w,qe),a(w,ne),a(ne,Me),o(e,de,r),b(M,e,r),o(e,ye,r),o(e,T,r),a(T,ie),a(ie,Te),a(T,De),we=!0},p:gt,i(e){we||(S(H.$$.fragment,e),S(L.$$.fragment,e),S(C.$$.fragment,e),S(F.$$.fragment,e),S(G.$$.fragment,e),S(R.$$.fragment,e),S(j.$$.fragment,e),S(q.$$.fragment,e),S(M.$$.fragment,e),we=!0)},o(e){E(H.$$.fragment,e),E(L.$$.fragment,e),E(C.$$.fragment,e),E(F.$$.fragment,e),E(G.$$.fragment,e),E(R.$$.fragment,e),E(j.$$.fragment,e),E(q.$$.fragment,e),E(M.$$.fragment,e),we=!1},d(e){t(u),e&&t(re),e&&t(c),k(H),e&&t(se),e&&t(D),e&&t(oe),e&&t(v),k(L),e&&t(pe),e&&t(O),e&&t(fe),e&&t($),k(C),e&&t(he),e&&t(J),e&&t(me),e&&t(d),k(F),e&&t(ue),k(G,e),e&&t(ce),e&&t(y),k(R),e&&t(ve),k(j,e),e&&t($e),e&&t(w),k(q),e&&t(de),k(M,e),e&&t(ye),e&&t(T)}}}const St={local:"simulate",sections:[{local:"install",title:"Install"},{local:"options-for-reinforcement-learning-support",sections:[{local:"gym-installation",title:"Gym Installation"},{local:"stable-baselines-3-installation",title:"Stable Baselines 3 Installation"},{local:"sample-factory-installation-experimental",title:"Sample Factory Installation (experimental)"}],title:"Options for Reinforcement Learning Support"}],title:"Simulate"};function Et(Ke){return _t(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class xt extends $t{constructor(u){super();dt(this,u,Et,bt,yt,{})}}export{xt as default,St as metadata};
