pub fn run_threaded_executor<D, S>(
mcts_config: &MCTSConfiguration,
executor_state: &mut S,
step_duration: Duration,
)where
D: DomainWithPlanningTask + GlobalDomain,
D::State: Clone + Send,
D::Diff: Send + Sync,
S: ExecutorState<D> + ExecutorStateGlobal<D>,
Expand description
Creates and runs a multi-threaded executor, initializes state and task queue from the S
trait.
Parameter step_duration
defines how long a logical step lasts in wall time.