Start of creating a graph Methods and data recording methods *
*
To create a graph there needs to be an inner class which *
impliments Repast's "DataSource" and "Sequence" interface *
which require 2 methods: *
*
An execute method that returns an Object *
A "getSValue method that returns a double (datatype).
Setting up the inbuilt function DataRecorder in Repast, To make the data stored in the same
place as the shapefiles, the Shape file location is got and then removed the last
3 i.e.
builds the model (using the getInitParam() which defines the initial values to create the model),
for example reads in data and creates a certain number of agents.