public interface DemandModel extends Initialisable, Displayable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
DemandModel.DemandDisplay |
| Modifier and Type | Method and Description |
|---|---|
void |
agentChange(Cell c)
Called when an agent changes on a cell, to allow updating on agent changes i.e.
|
com.moseph.modelutils.fastdata.DoubleMap<Service> |
getDemand()
Returns the level of demand for the Region
|
com.moseph.modelutils.fastdata.DoubleMap<Service> |
getDemand(Cell c)
Should be called to get the level of demand in a particular cell This can
include any regional demand
|
DemandModel.DemandDisplay |
getDisplay() |
com.moseph.modelutils.fastdata.DoubleMap<Service> |
getMarginalUtilities()
Gets the marginal utility of producing a unit of each service at the
current supply levels Uses the competitiveness model, but ignores
cell/agent adjustments
|
com.moseph.modelutils.fastdata.DoubleMap<Service> |
getResidualDemand()
Returns the level of residual demand for the region
|
com.moseph.modelutils.fastdata.DoubleMap<Service> |
getResidualDemand(Cell c)
The spatialised demand for a single cell
|
com.moseph.modelutils.fastdata.DoubleMap<Service> |
getSupply() |
void |
updateSupply()
Called after all agent changes have been done, and production has been updated.
|
initialisecom.moseph.modelutils.fastdata.DoubleMap<Service> getDemand(Cell c)
c - com.moseph.modelutils.fastdata.DoubleMap<Service> getDemand()
com.moseph.modelutils.fastdata.DoubleMap<Service> getResidualDemand(Cell c)
c - com.moseph.modelutils.fastdata.DoubleMap<Service> getResidualDemand()
com.moseph.modelutils.fastdata.DoubleMap<Service> getMarginalUtilities()
void agentChange(Cell c)
c - void updateSupply()
com.moseph.modelutils.fastdata.DoubleMap<Service> getSupply()
DemandModel.DemandDisplay getDisplay()
getDisplay in interface Displayable