import{S as ue,i as ce,s as ve,e as l,k as f,w as B,t as p,M as ye,c as n,d as e,m,a as i,x as C,h,b as r,G as a,g as o,y as M,L as de,q as U,o as F,B as T,v as $e}from"../chunks/vendor-hf-doc-builder.js";import{I as D}from"../chunks/IconCopyLink-hf-doc-builder.js";function _e(Dt){let u,nt,c,g,J,A,Et,j,St,it,O,bt,rt,v,w,z,k,Pt,K,At,st,I,kt,Q,It,ot,y,E,V,N,Nt,W,xt,pt,R,Gt,ht,d,S,X,x,Ht,Y,Lt,ft,$,b,Z,G,Ot,tt,Rt,mt,_,P,et,H,qt,at,Bt,ut,L,lt,Ct,Mt,ct,q,Ut,vt;return A=new D({}),k=new D({}),N=new D({}),x=new D({}),G=new D({}),H=new D({}),{c(){u=l("meta"),nt=f(),c=l("h1"),g=l("a"),J=l("span"),B(A.$$.fragment),Et=f(),j=l("span"),St=p("Simulate"),it=f(),O=l("p"),bt=p("Simulate is a library for easily creating and sharing simulation environments for intelligent agents (e.g. reinforcement learning) or synthetic data generation."),rt=f(),v=l("h2"),w=l("a"),z=l("span"),B(k.$$.fragment),Pt=f(),K=l("span"),At=p("Install"),st=f(),I=l("p"),kt=p("Install Simulate (preferentially in a virtual environment) with a simple "),Q=l("code"),It=p("pip install simulate"),ot=f(),y=l("h2"),E=l("a"),V=l("span"),B(N.$$.fragment),Nt=f(),W=l("span"),xt=p("Options for Reinforcement Learning Support"),pt=f(),R=l("p"),Gt=p("Simulate comes with additional support for the gym API, stable baselines 3 and sample-factory (experimental)"),ht=f(),d=l("h3"),S=l("a"),X=l("span"),B(x.$$.fragment),Ht=f(),Y=l("span"),Lt=p("Gym Installation"),ft=p(`

\`pip install simulate[gym]\`
`),$=l("h3"),b=l("a"),Z=l("span"),B(G.$$.fragment),Ot=f(),tt=l("span"),Rt=p("Gym Installation"),mt=p(`

\`pip install simulate[sb3]\`
`),_=l("h3"),P=l("a"),et=l("span"),B(H.$$.fragment),qt=f(),at=l("span"),Bt=p("Gym Installation"),ut=p(`

\`pip install simulate[sample-factory]\`
`),L=l("p"),lt=l("strong"),Ct=p("Note"),Mt=p(" due to version incompatibilities Stable Baselines 3 and Sample Factory cannot both be installed at the same time."),ct=f(),q=l("p"),Ut=p("Under construction \u{1F6A7}."),this.h()},l(t){const s=ye('[data-svelte="svelte-1phssyn"]',document.head);u=n(s,"META",{name:!0,content:!0}),s.forEach(e),nt=m(t),c=n(t,"H1",{class:!0});var yt=i(c);g=n(yt,"A",{id:!0,class:!0,href:!0});var Jt=i(g);J=n(Jt,"SPAN",{});var jt=i(J);C(A.$$.fragment,jt),jt.forEach(e),Jt.forEach(e),Et=m(yt),j=n(yt,"SPAN",{});var zt=i(j);St=h(zt,"Simulate"),zt.forEach(e),yt.forEach(e),it=m(t),O=n(t,"P",{});var Kt=i(O);bt=h(Kt,"Simulate is a library for easily creating and sharing simulation environments for intelligent agents (e.g. reinforcement learning) or synthetic data generation."),Kt.forEach(e),rt=m(t),v=n(t,"H2",{class:!0});var dt=i(v);w=n(dt,"A",{id:!0,class:!0,href:!0});var Qt=i(w);z=n(Qt,"SPAN",{});var Vt=i(z);C(k.$$.fragment,Vt),Vt.forEach(e),Qt.forEach(e),Pt=m(dt),K=n(dt,"SPAN",{});var Wt=i(K);At=h(Wt,"Install"),Wt.forEach(e),dt.forEach(e),st=m(t),I=n(t,"P",{});var Ft=i(I);kt=h(Ft,"Install Simulate (preferentially in a virtual environment) with a simple "),Q=n(Ft,"CODE",{});var Xt=i(Q);It=h(Xt,"pip install simulate"),Xt.forEach(e),Ft.forEach(e),ot=m(t),y=n(t,"H2",{class:!0});var $t=i(y);E=n($t,"A",{id:!0,class:!0,href:!0});var Yt=i(E);V=n(Yt,"SPAN",{});var Zt=i(V);C(N.$$.fragment,Zt),Zt.forEach(e),Yt.forEach(e),Nt=m($t),W=n($t,"SPAN",{});var te=i(W);xt=h(te,"Options for Reinforcement Learning Support"),te.forEach(e),$t.forEach(e),pt=m(t),R=n(t,"P",{});var ee=i(R);Gt=h(ee,"Simulate comes with additional support for the gym API, stable baselines 3 and sample-factory (experimental)"),ee.forEach(e),ht=m(t),d=n(t,"H3",{class:!0});var _t=i(d);S=n(_t,"A",{id:!0,class:!0,href:!0});var ae=i(S);X=n(ae,"SPAN",{});var le=i(X);C(x.$$.fragment,le),le.forEach(e),ae.forEach(e),Ht=m(_t),Y=n(_t,"SPAN",{});var ne=i(Y);Lt=h(ne,"Gym Installation"),ne.forEach(e),_t.forEach(e),ft=h(t,`

\`pip install simulate[gym]\`
`),$=n(t,"H3",{class:!0});var gt=i($);b=n(gt,"A",{id:!0,class:!0,href:!0});var ie=i(b);Z=n(ie,"SPAN",{});var re=i(Z);C(G.$$.fragment,re),re.forEach(e),ie.forEach(e),Ot=m(gt),tt=n(gt,"SPAN",{});var se=i(tt);Rt=h(se,"Gym Installation"),se.forEach(e),gt.forEach(e),mt=h(t,`

\`pip install simulate[sb3]\`
`),_=n(t,"H3",{class:!0});var wt=i(_);P=n(wt,"A",{id:!0,class:!0,href:!0});var oe=i(P);et=n(oe,"SPAN",{});var pe=i(et);C(H.$$.fragment,pe),pe.forEach(e),oe.forEach(e),qt=m(wt),at=n(wt,"SPAN",{});var he=i(at);Bt=h(he,"Gym Installation"),he.forEach(e),wt.forEach(e),ut=h(t,`

\`pip install simulate[sample-factory]\`
`),L=n(t,"P",{});var Tt=i(L);lt=n(Tt,"STRONG",{});var fe=i(lt);Ct=h(fe,"Note"),fe.forEach(e),Mt=h(Tt," due to version incompatibilities Stable Baselines 3 and Sample Factory cannot both be installed at the same time."),Tt.forEach(e),ct=m(t),q=n(t,"P",{});var me=i(q);Ut=h(me,"Under construction \u{1F6A7}."),me.forEach(e),this.h()},h(){r(u,"name","hf:doc:metadata"),r(u,"content",JSON.stringify(ge)),r(g,"id","simulate"),r(g,"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"),r(g,"href","#simulate"),r(c,"class","relative group"),r(w,"id","install"),r(w,"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"),r(w,"href","#install"),r(v,"class","relative group"),r(E,"id","options-for-reinforcement-learning-support"),r(E,"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"),r(E,"href","#options-for-reinforcement-learning-support"),r(y,"class","relative group"),r(S,"id","gym-installation"),r(S,"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"),r(S,"href","#gym-installation"),r(d,"class","relative group"),r(b,"id","gym-installation"),r(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"),r(b,"href","#gym-installation"),r($,"class","relative group"),r(P,"id","gym-installation"),r(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"),r(P,"href","#gym-installation"),r(_,"class","relative group")},m(t,s){a(document.head,u),o(t,nt,s),o(t,c,s),a(c,g),a(g,J),M(A,J,null),a(c,Et),a(c,j),a(j,St),o(t,it,s),o(t,O,s),a(O,bt),o(t,rt,s),o(t,v,s),a(v,w),a(w,z),M(k,z,null),a(v,Pt),a(v,K),a(K,At),o(t,st,s),o(t,I,s),a(I,kt),a(I,Q),a(Q,It),o(t,ot,s),o(t,y,s),a(y,E),a(E,V),M(N,V,null),a(y,Nt),a(y,W),a(W,xt),o(t,pt,s),o(t,R,s),a(R,Gt),o(t,ht,s),o(t,d,s),a(d,S),a(S,X),M(x,X,null),a(d,Ht),a(d,Y),a(Y,Lt),o(t,ft,s),o(t,$,s),a($,b),a(b,Z),M(G,Z,null),a($,Ot),a($,tt),a(tt,Rt),o(t,mt,s),o(t,_,s),a(_,P),a(P,et),M(H,et,null),a(_,qt),a(_,at),a(at,Bt),o(t,ut,s),o(t,L,s),a(L,lt),a(lt,Ct),a(L,Mt),o(t,ct,s),o(t,q,s),a(q,Ut),vt=!0},p:de,i(t){vt||(U(A.$$.fragment,t),U(k.$$.fragment,t),U(N.$$.fragment,t),U(x.$$.fragment,t),U(G.$$.fragment,t),U(H.$$.fragment,t),vt=!0)},o(t){F(A.$$.fragment,t),F(k.$$.fragment,t),F(N.$$.fragment,t),F(x.$$.fragment,t),F(G.$$.fragment,t),F(H.$$.fragment,t),vt=!1},d(t){e(u),t&&e(nt),t&&e(c),T(A),t&&e(it),t&&e(O),t&&e(rt),t&&e(v),T(k),t&&e(st),t&&e(I),t&&e(ot),t&&e(y),T(N),t&&e(pt),t&&e(R),t&&e(ht),t&&e(d),T(x),t&&e(ft),t&&e($),T(G),t&&e(mt),t&&e(_),T(H),t&&e(ut),t&&e(L),t&&e(ct),t&&e(q)}}}const ge={local:"simulate",sections:[{local:"install",title:"Install"},{local:"options-for-reinforcement-learning-support",sections:[{local:"gym-installation",title:"Gym Installation"},{local:"gym-installation",title:"Gym Installation"},{local:"gym-installation",title:"Gym Installation"}],title:"Options for Reinforcement Learning Support"}],title:"Simulate"};function we(Dt){return $e(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class be extends ue{constructor(u){super();ce(this,u,we,_e,ve,{})}}export{be as default,ge as metadata};
