Struct pnets::timed::Transition [−][src]
pub struct Transition { pub label: Option<String>, pub time: TimeRange, pub conditions: Marking<PlaceId>, pub inhibitors: Marking<PlaceId>, pub consume: Marking<PlaceId>, pub produce: Marking<PlaceId>, pub priorities: Vec<TransitionId>, // some fields omitted }
Expand description
Represent a transition in the network
Fields
label: Option<String>
Label of the transition
time: TimeRange
Timerange of the transition
conditions: Marking<PlaceId>
Conditions of transition
inhibitors: Marking<PlaceId>
Inhibitors of the transition
consume: Marking<PlaceId>
Consumption of the transition
produce: Marking<PlaceId>
Production of the transition
priorities: Vec<TransitionId>
Priorities of the transitions (this transition must be activated before all transition in this vector)
Implementations
Returns the id of the transition
Returns true
if this transition is disconnected from the network
Trait Implementations
Returns the “default value” for a type. Read more