uaa.feral.context
Class FeralContextBuilder
java.lang.Object
uaa.feral.context.FeralContextBuilder
- All Implemented Interfaces:
- repast.simphony.dataLoader.ContextBuilder
public class FeralContextBuilder
- extends java.lang.Object
- implements repast.simphony.dataLoader.ContextBuilder
Class to load data and build the simulation.
This class is the first object called.
- Author:
Method Summary |
repast.simphony.context.Context |
build(repast.simphony.context.Context context)
Builds and returns a context. |
void |
buildFromFiles(repast.simphony.context.Context context)
Method to get input files referenced by a scenario file |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PathToData
public static java.lang.String PathToData
scenarioData
public java.lang.String scenarioData
FeralContextBuilder
public FeralContextBuilder()
build
public repast.simphony.context.Context build(repast.simphony.context.Context context)
- Builds and returns a context. Building a context consists of filling it with
agents, instantiating projections, and any other simulation setup.
- Specified by:
build
in interface repast.simphony.dataLoader.ContextBuilder
- Parameters:
context
-
- Returns:
- the built context.
buildFromFiles
public void buildFromFiles(repast.simphony.context.Context context)
- Method to get input files referenced by a scenario file
- Parameters:
context
- the master contextfileData
- the path to the scenario file