#——————————————–
# BasicStateSim’s runsim()
function runsim(sim::BasicStateSim, v::Verbosity)
runsim( sim, maxitr(sim), startstate(sim), v)
end
function runsim(sim::BasicStateSim, maxItr::Nothing, state, v)
error(“For a BasicState simulation, maxiter(sim) = user_supplied_int must be defined”)
end
function runsim(sim::BasicStateSim, maxItr, state, v)
verbosefn(v, sim, state, 0)
for i = 1:maxItr
update!(sim, state)
verbosefn(v, sim, state, i)
end
measure(sim, state)
end