pub trait SimulationExtensions {
// Required method
fn token_count(&self, pid: Pid) -> usize;
}
Expand description
Extension trait for the petri net simulation.
Required Methods§
Sourcefn token_count(&self, pid: Pid) -> usize
fn token_count(&self, pid: Pid) -> usize
Returns the token count for the specified place.