scalation.activity

PlaceI

class PlaceI extends Identifiable

The PlaceI class represents a discrete place (can hold tokens).

Linear Supertypes
Identifiable, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PlaceI
  2. Identifiable
  3. Error
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def add(_tokens: VectorI): Unit

    Add tokens to this discrete place.

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. 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
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. def holds(_tokens: VectorI): Boolean

    Determine whether this place holds at least the token vector (i.

    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.

  14. def id: Int

    Get the id (unique identifier).

    Get the id (unique identifier).

    Definition Classes
    Identifiable
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def me: String

    Return the full identity.

    Return the full identity.

    Definition Classes
    Identifiable
  17. def name: String

    Get the name.

    Get the name.

    Definition Classes
    Identifiable
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def setName(label: String): Unit

    Set the name.

    Set the name.

    label

    the name to assign

    Definition Classes
    Identifiable
  22. def simType: String

    Get the type of the simulation object.

    Get the type of the simulation object.

    Definition Classes
    Identifiable
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def take(_tokens: VectorI): Unit

    Take tokens from this discrete place.

  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. var tokens: VectorI

    the number of tokens per color

  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. val x: Double

    the place's x-coordinate

  31. val y: Double

    the place's y-coordinate

Inherited from Identifiable

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped