scalation.activity

PlaceI

class PlaceI extends Identity

This class represents a discrete place (can hold tokens).

Linear Supertypes
Identity, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. PlaceI
  2. Identity
  3. Error
  4. AnyRef
  5. Any
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: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def add(_tokens: VectorI): Unit

    Add tokens to this discrete place.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  15. 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.

  16. def id: Int

    Get the id (unique identifier).

    Get the id (unique identifier).

    Definition Classes
    Identity
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def me: String

    Return the full identity.

    Return the full identity.

    Definition Classes
    Identity
  19. def name: String

    Get the name.

    Get the name.

    Definition Classes
    Identity
  20. final def ne(arg0: AnyRef): Boolean

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

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

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

    Set the name.

    Set the name.

    label

    the name to assign

    Definition Classes
    Identity
  24. def simType: String

    Get the type of the simulation object.

    Get the type of the simulation object.

    Definition Classes
    Identity
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Take tokens from this discrete place.

  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. var tokens: VectorI

    the number of tokens per color

  29. final def wait(): Unit

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

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

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

    the place's x-coordinate

  33. val y: Double

    the place's y-coordinate

Inherited from Identity

Inherited from Error

Inherited from AnyRef

Inherited from Any