package ml3
Type Members
- class Experiment extends AbstractExperiment with SupportStopConditions with DynamicSimulationRuns with InitialStateCreation
- case class FirstReactionMethod() extends ML3Simulator with Product with Serializable
-
trait
InitialStateCreation extends StateBuilderFactories with NetworkTransformers
A trait that manages the configuration of initial state creation.
A trait that manages the configuration of initial state creation. One
IInitialStateBuilderand severalIStateTransformerscan be supplied, which will create and transform a state in the order specified. - trait ML3Simulator extends Simulator
- trait NetworkTransformers extends AnyRef
- case class NextReactionMethod() extends ML3Simulator with Product with Serializable
-
trait
Observation extends SimpleObservation
This trait adds two ML3-specific observation methods.
This trait adds two ML3-specific observation methods. First, observations triggered by events are possible. As these events are triggered by a rule that fires for a specific agent, the value of expressions that are evaluated on the agent can be observed. Second, time-triggered observations of expressions that are evaluated for all agents of a certain type are possible, which result in a distribution of observed values for each observation time.
val exp = new Experiment with Observation { // observe at certain time steps observeAt(range(0, 1, 500) observe("numPerson" ~ agentCount("Person")) observe("numPersonWithFilter" ~ agentCount("Person", "ego.status = 'active'")) observe("statusDistribution" ~ expressionDistribution("Person", "ego.status")) // observe the status each time a Person dies observe("statusAtDeath" ~ expression("ego.status") at Death("Person")) }
Example: - trait ParallelExecution extends AbstractParallelExecution
- trait ParameterMaps extends AnyRef
- trait StateBuilderFactories extends AnyRef
- trait SupportStopConditions extends AnyRef