the place's x-coordinate
the place's y-coordinate
the number of tokens per color
whether the tokens stay (test arc)
Add tokens to this discrete place.
Determine whether Identifiable object 'this' equals Identifiable object 'that'.
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Show the flaw by printing the error message.
Show the flaw by printing the error message.
the method where the error occurred
the error message
Return the hashCode as the unique id.
Return the hashCode as the unique id.
Determine whether this place holds at least the token vector (i.e., the requisite number of tokens of each color).
Determine whether this place holds at least the token vector (i.e., the requisite number of tokens of each color). Alternative: use threshold predicate in PetriNetRules.
Get the id (unique identifier).
Get the id (unique identifier).
Return the full identity.
Return the full identity.
Get the name.
Get the name.
Set the name.
Get the type of the simulation object.
Get the type of the simulation object.
Take tokens from this discrete place.
the number of tokens per color
the place's x-coordinate
the place's y-coordinate
The
PlaceI
class represents a discrete place (can hold tokens).