crowdmodel
Class AgentContextCreator

java.lang.Object
  extended by repast.simphony.dataLoader.SubContextCreator
      extended by crowdmodel.AgentContextCreator
All Implemented Interfaces:
repast.simphony.dataLoader.ContextBuilder

public class AgentContextCreator
extends repast.simphony.dataLoader.SubContextCreator

The agentContext creator defines the creation of a subcontext for the crowd simulation. Here this involves a subcontext for the crowd agents to define different network projections just for those agents (and thus nodes) This reason for creating a different context for it is that it literally discerns between the social and the physical world but also for display purposes, as I can choose to display the agent structures on its own.

Author:
Nanda Wijermans

Constructor Summary
AgentContextCreator()
           
 
Method Summary
 repast.simphony.context.Context build(repast.simphony.context.Context socialContext)
          Creation of Network projections 1) Social network: the description of the network structure in terms of who you are coming with to the crowd event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentContextCreator

public AgentContextCreator()
Method Detail

build

public repast.simphony.context.Context build(repast.simphony.context.Context socialContext)
Creation of Network projections 1) Social network: the description of the network structure in terms of who you are coming with to the crowd event. This depend on the scenario. 2) Leadership network: a representation 3) Clusters of behaviour : the group-level measure used in this simulation

Specified by:
build in interface repast.simphony.dataLoader.ContextBuilder
Overrides:
build in class repast.simphony.dataLoader.SubContextCreator