uaa.feral.context
Class FeralContextBuilder

java.lang.Object
  extended by 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:

Field Summary
static java.lang.String PathToData
           
 java.lang.String scenarioData
           
 
Constructor Summary
FeralContextBuilder()
           
 
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
 

Field Detail

PathToData

public static java.lang.String PathToData

scenarioData

public java.lang.String scenarioData
Constructor Detail

FeralContextBuilder

public FeralContextBuilder()
Method Detail

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 context
fileData - the path to the scenario file