class PlaceD extends Identifiable
The PlaceD
class represents a continuous place (can hold fluids).
- Alphabetic
- By Inheritance
- PlaceD
- Identifiable
- Error
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
add(_fluids: VectorD): Unit
Add fluids to 'this' continuous place.
Add fluids to 'this' continuous place.
- _fluids
the fluid vector to add
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
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.
- Definition Classes
- Identifiable → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
flaw(method: String, message: String): Unit
Show the flaw by printing the error message.
Show the flaw by printing the error message.
- method
the method where the error occurred
- message
the error message
- Definition Classes
- Error
- var fluids: VectorD
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
Return the hashCode as the unique id.
Return the hashCode as the unique id.
- Definition Classes
- Identifiable → AnyRef → Any
-
def
holds(_fluids: VectorD): Boolean
Determine whether 'this' place holds at least the fluid vector (i.e., the requisite amount of fluid of each color).
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
.- _fluids
the fluid vector
-
val
id: Int
The globally unique integer identifier
The globally unique integer identifier
- Definition Classes
- Identifiable
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
me: String
Return the full identity.
Return the full identity.
- Definition Classes
- Identifiable
-
def
name: String
Get the name.
Get the name.
- Definition Classes
- Identifiable
-
def
name_=(name: String): Unit
Set the name.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
simType: String
Get the type of the simulation object.
Get the type of the simulation object.
- Definition Classes
- Identifiable
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
take(_fluids: VectorD): Unit
Take fluids from 'this' continuous place.
Take fluids from 'this' continuous place.
- _fluids
the fluid vector to take away
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val x: Double
- val y: Double