Model

scalation.simulation.agent.Model
See theModel companion class
object Model

The Model companion object provides a shutdown method and methods to add vertex/edge types to the model.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Model.type

Members list

Value members

Concrete methods

def add(vt: VertexType): Unit

Add vertex type vt to the collection of vertex types.

Add vertex type vt to the collection of vertex types.

Value parameters

vt

the vertex type to add

Attributes

def add(et: EdgeType): Unit

Add edge type et to the collection of edge types.

Add edge type et to the collection of edge types.

Value parameters

et

the edge type to add

Attributes

def shutdown(): Unit

Shutdown the Model execution infrastructure (WARNING: this method should only be called right before program termination). Make sure all threads have finished (e.g., call waitFinished), not just the main thread. If shutdown is not called, the application may hang.

Shutdown the Model execution infrastructure (WARNING: this method should only be called right before program termination). Make sure all threads have finished (e.g., call waitFinished), not just the main thread. If shutdown is not called, the application may hang.

Attributes