class PlaceI extends Identifiable
The PlaceI
class represents a discrete place (can hold tokens).
- Alphabetic
- By Inheritance
- PlaceI
- Identifiable
- Error
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PlaceI(x: Double, y: Double, tokens: VectorI, stays: Boolean = false)
- x
the place's x-coordinate
- y
the place's y-coordinate
- tokens
the number of tokens per color
- stays
whether the tokens stay (test arc)
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(_tokens: VectorI): Unit
Add tokens to 'this' discrete place.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- Identifiable → AnyRef → Any
- final def flaw(method: String, message: String): Unit
- Definition Classes
- Error
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- Identifiable → AnyRef → Any
- def holds(_tokens: VectorI): Boolean
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
. - val id: Int
- Definition Classes
- Identifiable
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def me: String
- Definition Classes
- Identifiable
- def name: String
- Definition Classes
- Identifiable
- def name_=(name: String): Unit
- Definition Classes
- Identifiable
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def simType: String
- Definition Classes
- Identifiable
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def take(_tokens: VectorI): Unit
Take tokens from 'this' discrete place.
- def toString(): String
- Definition Classes
- AnyRef → Any
- var tokens: VectorI
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- val x: Double
- val y: Double
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated