public class NullProductionModel extends Object implements ProductionModel
| Modifier and Type | Field and Description |
|---|---|
static NullProductionModel |
INSTANCE |
| Constructor and Description |
|---|
NullProductionModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialise(ModelData data,
RunInfo info,
Region r) |
void |
production(Cell c,
com.moseph.modelutils.fastdata.DoubleMap<Service> v)
Calculates production on the given cell, puts it into the supplied NumberMap
|
public static NullProductionModel INSTANCE
public void production(Cell c, com.moseph.modelutils.fastdata.DoubleMap<Service> v)
ProductionModelproduction in interface ProductionModelpublic void initialise(ModelData data, RunInfo info, Region r)
initialise in interface Initialisabledata - model datainfo - run informationr - region the initialisable object belongs to