public class SimpleCompetitivenessModel extends Object implements CompetitivenessModel
CompetitivenessModel.CompetitivenessDisplay| Constructor and Description |
|---|
SimpleCompetitivenessModel() |
| Modifier and Type | Method and Description |
|---|---|
double |
addUpMarginalUtilities(com.moseph.modelutils.fastdata.UnmodifiableNumberMap<Service> residual,
com.moseph.modelutils.fastdata.UnmodifiableNumberMap<Service> supply) |
double |
getCompetitiveness(DemandModel demand,
com.moseph.modelutils.fastdata.UnmodifiableNumberMap<Service> supply) |
double |
getCompetitiveness(DemandModel demand,
com.moseph.modelutils.fastdata.UnmodifiableNumberMap<Service> supply,
Cell cell) |
CompetitivenessModel.CompetitivenessDisplay |
getDisplay() |
void |
initialise(ModelData data,
RunInfo info,
Region extent) |
boolean |
isRemoveCurrentLevel() |
boolean |
isRemoveNegative() |
void |
setRemoveCurrentLevel(boolean removeCurrentLevel) |
void |
setRemoveNegative(boolean removeNegative) |
public void initialise(ModelData data, RunInfo info, Region extent) throws Exception
initialise in interface Initialisabledata - model datainfo - run informationextent - region the initialisable object belongs toExceptionpublic double getCompetitiveness(DemandModel demand, com.moseph.modelutils.fastdata.UnmodifiableNumberMap<Service> supply)
getCompetitiveness in interface CompetitivenessModelpublic double getCompetitiveness(DemandModel demand, com.moseph.modelutils.fastdata.UnmodifiableNumberMap<Service> supply, Cell cell)
getCompetitiveness in interface CompetitivenessModelpublic double addUpMarginalUtilities(com.moseph.modelutils.fastdata.UnmodifiableNumberMap<Service> residual, com.moseph.modelutils.fastdata.UnmodifiableNumberMap<Service> supply)
addUpMarginalUtilities in interface CompetitivenessModelpublic boolean isRemoveCurrentLevel()
public void setRemoveCurrentLevel(boolean removeCurrentLevel)
public boolean isRemoveNegative()
public void setRemoveNegative(boolean removeNegative)
public CompetitivenessModel.CompetitivenessDisplay getDisplay()
getDisplay in interface CompetitivenessModelgetDisplay in interface Displayable