Temporal

scalation.database.Temporal
trait Temporal(var time: Double) extends Ordered[Temporal]

The Temporal trait provides time coordinates that are temporally ordered.

Value parameters

time

the time coordinate for the temporal object

Attributes

See also

scalation.TimeNum

Graph
Supertypes
trait Ordered[Temporal]
trait Comparable[Temporal]
class Object
trait Matchable
class Any
Known subtypes
class SimAgent
class Customer
class Reporter
class Call
class Car
class Car
class Bus
class Gate
class Source
Show all

Members list

Value members

Concrete methods

def compare(other: Temporal): Int

Compare two temporal objects based on their time coordinate.

Compare two temporal objects based on their time coordinate.

Value parameters

other

the other item to compare with this item

Attributes

def r_rescale(factor: Double): Double

Rescale from actual-time (e.g., minutes) to animation-time (milliseconds).

Rescale from actual-time (e.g., minutes) to animation-time (milliseconds).

Value parameters

factor

the time rescaling factor

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

def <(that: Temporal): Boolean

Attributes

Inherited from:
Ordered
def <=(that: Temporal): Boolean

Attributes

Inherited from:
Ordered
def >(that: Temporal): Boolean

Attributes

Inherited from:
Ordered
def >=(that: Temporal): Boolean

Attributes

Inherited from:
Ordered
def compareTo(that: Temporal): Int

Attributes

Inherited from:
Ordered

Concrete fields

var time: Double