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

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.