create_simulator¶
- create_simulator(model, seed=None, options=None)¶
Factory method for creating a simulator.
- Parameters:
model – Sparse model or Prism program.
seed – A seed for reproducibility. If None (default), the seed is internally generated.
options – BuilderOptions that can be passed to the simulator (only for Prism programs).
- Returns:
A simulator that can simulate on top of this model.