Monitor

scalation.simulation.agent.Monitor
case class Monitor(project: String)

The Monitor class is used to trace the actions/events in the models.

Value parameters

project

the project to be monitored

Attributes

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

Members list

Value members

Concrete methods

def finish(): Unit

Finish up by flushing and closing the log.

Finish up by flushing and closing the log.

Attributes

def toggle(): Unit

Toggle output destination from default of (log) file to standard output. etc.

Toggle output destination from default of (log) file to standard output. etc.

Attributes

def trace(who: Identifiable, what: String, whom: Identifiable, when: Double): Unit

Trace an action/event.

Trace an action/event.

Value parameters

what

what was the action

when

when was the action taken

who

who caused the action

whom

whom did the action effect

Attributes

def traceOff(): Unit

Turn tracing off.

Turn tracing off.

Attributes

def traceOn(): Unit

Turn tracing back on.

Turn tracing back on.

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product