scalation.activity

PlaceD

Related Doc: package activity

class PlaceD extends Identifiable

The PlaceD class represents a continuous place (can hold fluids).

Linear Supertypes
Identifiable, Error, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PlaceD
  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 PlaceD(x: Double, y: Double, fluids: VectorD, stays: Boolean = false)

    x

    the place's x-coordinate

    y

    the place's y-coordinate

    fluids

    the amount of fluid per color

    stays

    whether the fluids 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(_fluids: VectorD): Unit

    Add fluids to this continuous place.

    Add fluids to this continuous place.

    _fluids

    the fluid vector to add

  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(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
  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. var fluids: VectorD

    the amount of fluid per color

  12. final def getClass(): Class[_]

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

    Return the hashCode as the unique id.

    Return the hashCode as the unique id.

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

  15. def id: Int

    Get the id (unique identifier).

    Get the id (unique identifier).

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

    Definition Classes
    Any
  17. def me: String

    Return the full identity.

    Return the full identity.

    Definition Classes
    Identifiable
  18. def name: String

    Get the name.

    Get the name.

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

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

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

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

    Set the name.

    Set the name.

    label

    the name to assign

    Definition Classes
    Identifiable
  23. def simType: String

    Get the type of the simulation object.

    Get the type of the simulation object.

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

    Definition Classes
    AnyRef
  25. def take(_fluids: VectorD): Unit

    Take fluids from this continuous place.

    Take fluids from this continuous place.

    _fluids

    the fluid vector to take away

  26. def toString(): String

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