CausalLink

scalation.simulation.event.CausalLink
case class CausalLink(label: String, director: Model, condition: () => Boolean, causedEvent: Event) extends Identifiable

The CausalLink class provides casual links between events. A causal link indicates that a "causing event" (from node) conditionally may triggers a "caused event" (to node).

Value parameters

causedEvent

the event caused by this causal link

condition

the condition under which the link is triggered

director

the controller/scheduler that this causal link is a part of

label

the name/label of the causal link

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Identifiable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def display(from: Event, to: Event): Unit

Tell the animation engine to display this CausalLink.

Tell the animation engine to display this CausalLink.

Value parameters

from

the starting event prototype

to

the ending event prototype

Attributes

override def toString: String

Convert the causal link to a string.

Convert the causal link to a string.

Attributes

Definition Classes
Any

Inherited methods

override def equals(that: Any): Boolean

Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.

Determine whether Identifiable object 'this' equals Identifiable object 'that'. Works since 'id' is unique for all Identifiable objects.

Attributes

Definition Classes
Identifiable -> Any
Inherited from:
Identifiable
override def hashCode: Int

Return the hashCode as the unique id.

Return the hashCode as the unique id.

Attributes

Definition Classes
Identifiable -> Any
Inherited from:
Identifiable
def me: String

Return the full identity.

Return the full identity.

Attributes

Inherited from:
Identifiable
def name: String

Get the name.

Get the name.

Attributes

Inherited from:
Identifiable
def name_=(name: String): Unit

Set the name.

Set the name.

Value parameters

name

the name to assign

Attributes

Inherited from:
Identifiable
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def simType: String

Get the type of the simulation object.

Get the type of the simulation object.

Attributes

Inherited from:
Identifiable

Inherited fields

val id: Int

The globally unique integer identifier

The globally unique integer identifier

Attributes

Inherited from:
Identifiable