Skip to main content
. Author manuscript; available in PMC: 2013 Sep 16.
Published in final edited form as: Ann Oper Res. 2013 Sep 1;208(1):383–416. doi: 10.1007/s10479-012-1248-5
Algorithm 1 MFMC algorithm to rebuilt a set of size p of T–length artificial trajectories from a sample of n one-step transitions.

Input: Inline graphicn, h(., .),x0, Δ(., .),T,p
Let Inline graphic denote the current set of not yet used one-step transitions in Inline graphicn; Initially,
Inline graphicInline graphicn;
for i = 1 to p (extract an artificial trajectory) do
t ← 0;
xtix0;
while t < T do
   utih(t,xti);
   Harg min(x,u,r,y)GΔ((x,u),(xti,uti));
   lti ← lowest index in Inline graphicn of the transitions that belong to Inline graphic;
  tt + 1;
   xtiylti;
GG\{(xlti,ulti,rlti,ylti)}; \\ do not re-use transitions
end while
end for
Return the set of indices {lti}i=1,t=0i=p,t=T1.