PlaceD
The PlaceD
class represents a continuous place (can hold fluids).
Value parameters
- fluids
-
the amount of fluid per color
- x
-
the place's x-coordinate
- y
-
the place's y-coordinate
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Add fluids to 'this' continuous place.
Add fluids to 'this' continuous place.
Value parameters
- _fluids
-
the fluid vector to add
Attributes
Determine whether 'this' place holds at least the fluid vector (i.e., the requisite amount of fluid of each color). Alternative: use threshold predicate in PetriNetRules
.
Determine whether 'this' place holds at least the fluid vector (i.e., the requisite amount of fluid of each color). Alternative: use threshold predicate in PetriNetRules
.
Value parameters
- _fluids
-
the fluid vector
Attributes
Inherited methods
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.
Attributes
- Definition Classes
-
Identifiable -> Any
- Inherited from:
- Identifiable
Return the hashCode as the unique id.
Return the hashCode as the unique id.
Attributes
- Definition Classes
-
Identifiable -> Any
- Inherited from:
- Identifiable
Return the full identity.
Get the name.
Set the name.
Get the type of the simulation object.
Inherited fields
The globally unique integer identifier