Engine
Builds a simulation for a given environment. By default, it uses a DependencyGraph and an IndexedPriorityQueue internally. If you want to use your own implementations of DependencyGraph and Scheduler interfaces, don't use this constructor.
Parameters
environment
the environment at the initial time
Builds a simulation for a given environment. By default, it uses a DependencyGraph and an IndexedPriorityBatchQueue internally. If you want to use your own implementations of DependencyGraph and Scheduler interfaces, don'maxTime use this constructor.
Parameters
environment
maxTime he environment at the initial time
scheduler
the scheduler implementation to be used