Trait SimulationExtensions

Source
pub trait SimulationExtensions {
    // Required method
    fn token_count(&self, pid: Pid) -> usize;
}
Expand description

Extension trait for the petri net simulation.

Required Methods§

Source

fn token_count(&self, pid: Pid) -> usize

Returns the token count for the specified place.

Implementations on Foreign Types§

Source§

impl<R: Deref<Target = State>> SimulationExtensions for GenericSimulationBorrow<'_, PetriNetInfo, R>

Source§

fn token_count(&self, pid: Pid) -> usize

Implementors§