public class CellVolatilityRasterOutputter extends RasterOutputter implements GloballyInitialisable
AllocationModels that
implement CellVolatilityMessenger. This is useful since the component
that knows about cell volatility is an exchangeable component and this way
not every AllocationModel is required to implement the service.
Furthermore, this way cell volatility only needs to be reported in case there
is a CellVolatilityObserver registered.disabled, endYear, everyNYears, log, modelData, outputs, persister, runInfo, startYear| Constructor and Description |
|---|
CellVolatilityRasterOutputter() |
| Modifier and Type | Method and Description |
|---|---|
double |
apply(Cell c) |
String |
getDefaultOutputName() |
void |
initialise(ModelData data,
RunInfo info,
Regions regions) |
doOutput, getExtension, initialise, isInt, writeRasterclose, disable, filename, getEndYear, getEveryNYears, getOutputName, getStartYear, open, setOutputManager, setOutputName, tickFilenamepublic void initialise(ModelData data, RunInfo info, Regions regions) throws Exception
initialise in interface GloballyInitialisabledata - model datainfo - run informationExceptionGloballyInitialisable.initialise(org.volante.abm.data.ModelData,
org.volante.abm.schedule.RunInfo, org.volante.abm.data.Regions)public double apply(Cell c)
apply in interface CellToDoubleCellToDouble.apply(org.volante.abm.data.Cell)public String getDefaultOutputName()
getDefaultOutputName in class AbstractOutputterAbstractOutputter.getDefaultOutputName()