p

sessl

ml3

package ml3

Type Members

  1. class Experiment extends AbstractExperiment with SupportStopConditions with DynamicSimulationRuns with InitialStateCreation

  2. case class FirstReactionMethod() extends ML3Simulator with Product with Serializable
  3. 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 IInitialStateBuilder and several IStateTransformers can be supplied, which will create and transform a state in the order specified.

  4. trait ML3Simulator extends Simulator

  5. trait NetworkTransformers extends AnyRef
  6. case class NextReactionMethod() extends ML3Simulator with Product with Serializable
  7. 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.

    Example:
    1. 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"))
      }
  8. trait ParallelExecution extends AbstractParallelExecution

  9. trait ParameterMaps extends AnyRef

  10. trait StateBuilderFactories extends AnyRef
  11. trait SupportStopConditions extends AnyRef

Ungrouped