SimAgent

scalation.simulation.agent.SimAgent
See theSimAgent companion class
object SimAgent

The SimAgent companion object provides static information for the class. The director keeps track of the current number of live agents (nAgents). Gates are not considered live, since they simply cycle until the simulation ends. Sources are considered live, since they produce application agents and terminate when their production finishes.

Attributes

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

Members list

Value members

Concrete methods

def setTHROUGH(): Unit

By default each yield is TO an active director (has an act method), but a faster option is yield THROUGH a passive director to the first SimAgent in the director's agenda, e.g., Model2 calls setTHROUGH to set THROUGH to true

By default each yield is TO an active director (has an act method), but a faster option is yield THROUGH a passive director to the first SimAgent in the director's agenda, e.g., Model2 calls setTHROUGH to set THROUGH to true

Attributes