Temporal

scalation.simulation.Temporal
trait Temporal extends Identifiable

The Temporal trait adds time (actTime) and temporal ordering to Identifiable.

Attributes

Graph
Supertypes
trait Identifiable
class Object
trait Matchable
class Any
Known subtypes
class Transition
class SimActor
class Customer
class Call
class Patient
class Car1
class Car2
class Part
class Car
class Car1
class Car2
class Car
class Car
class Car
class Car
class Rider
class Customer
class Customer
class Bus
class UGA_Bus
class Gate
class Source
class VSource
class Vehicle
class Car
Show all

Members list

Value members

Concrete methods

def compare(other: Temporal): Int

Compare two temporal objects based on their actTime.

Compare two temporal objects based on their actTime.

Value parameters

other

the other item to compare with this item

Attributes

override def toString: String

Convert the temporal object to a string.

Convert the temporal object 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 simType: String

Get the type of the simulation object.

Get the type of the simulation object.

Attributes

Inherited from:
Identifiable

Concrete fields

var actTime: Double

The activation time for the temporal object

The activation time for the temporal object

Attributes

Inherited fields

val id: Int

The globally unique integer identifier

The globally unique integer identifier

Attributes

Inherited from:
Identifiable