public class GivingInStatisticsOutputter extends TableOutputter<Integer> implements GloballyInitialisable, GivingInStatisticsObserver
| Modifier and Type | Class and Description |
|---|---|
class |
GivingInStatisticsOutputter.NumberColumn |
class |
GivingInStatisticsOutputter.SearchedCellsAftColumn |
TableOutputter.RegionsColumn<T>, TableOutputter.TickColumn<T>disabled, endYear, everyNYears, log, modelData, outputs, persister, runInfo, startYear| Constructor and Description |
|---|
GivingInStatisticsOutputter() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Integer> |
getData(Regions r) |
String |
getDefaultOutputName() |
void |
initGivingInStatistic(Region region) |
void |
initialise(ModelData data,
RunInfo info,
Regions regions) |
void |
setNumberSearchedCells(Region region,
PotentialAgent pa,
int number) |
void |
setOutputManager(Outputs outputs) |
void |
startFile(String filename,
Regions regions)
Filter out SearchedCellsAftColumn that are not among requested regions (important for
region-specific files)
|
void |
writeData(Iterable<Integer> data,
Regions r) |
addColumn, close, doOutput, endFile, filePerTick, writeFiledisable, filename, getEndYear, getEveryNYears, getExtension, getOutputName, getStartYear, initialise, open, setOutputName, tickFilenamepublic void initialise(ModelData data, RunInfo info, Regions regions) throws Exception
initialise in interface GloballyInitialisabledata - model datainfo - run informationExceptionpublic void setOutputManager(Outputs outputs)
setOutputManager in interface OutputtersetOutputManager in class AbstractOutputterAbstractOutputter.setOutputManager(org.volante.abm.output.Outputs)public void initGivingInStatistic(Region region)
initGivingInStatistic in interface GivingInStatisticsObserverpublic Iterable<Integer> getData(Regions r)
getData in class TableOutputter<Integer>public String getDefaultOutputName()
getDefaultOutputName in class AbstractOutputterpublic void startFile(String filename, Regions regions) throws IOException
startFile in class TableOutputter<Integer>IOExceptionTableOutputter.startFile(java.lang.String,
org.volante.abm.data.Regions)public void writeData(Iterable<Integer> data, Regions r) throws IOException
writeData in class TableOutputter<Integer>IOExceptionTableOutputter.writeData(java.lang.Iterable,
org.volante.abm.data.Regions)public void setNumberSearchedCells(Region region, PotentialAgent pa, int number)
setNumberSearchedCells in interface GivingInStatisticsObserver