p

sessl

ml3

package ml3

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class AgentCount (agentType: String, filter: String) extends Observable with Product with Serializable
  2. case class Change (agentType: String, field: String, filter: String = "true") extends EventType with Product with Serializable
  3. case class Creation (agentType: String, filter: String = "true") extends EventType with Product with Serializable
  4. case class Death (agentType: String, filter: String = "true") extends EventType with Product with Serializable
  5. sealed trait EventType extends AnyRef
  6. class Experiment extends AbstractExperiment with SupportStopConditions with DynamicSimulationRuns

  7. case class Expression (expression: String) extends Observable with Product with Serializable
  8. case class ExpressionDistribution (agentType: String, expression: String, filter: String) extends Observable with Product with Serializable
  9. case class FirstReactionMethod () extends ML3Simulator with Product with Serializable
  10. trait ML3Simulator extends Simulator

  11. case class NextReactionMethod () extends ML3Simulator with Product with Serializable
  12. sealed trait Observable extends AnyRef
  13. 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 each time a Person dies
        observeAt(Death("Person")) {
          observe("statusAtDeath" ~ expression("ego.status"))
        }
      }
  14. trait ParallelExecution extends AbstractParallelExecution

  15. trait ParameterMaps extends AnyRef

  16. trait SupportStopConditions extends AnyRef

Value Members

  1. object Times extends EventType with Product with Serializable

Ungrouped