T - solution to find and applypublic abstract class OptimizationAllocationModel<T> extends Object implements AllocationModel
| Modifier and Type | Class and Description |
|---|---|
class |
OptimizationAllocationModel.LogOptimizationListener |
static interface |
OptimizationAllocationModel.OptimizationListener |
AllocationModel.AllocationDisplay| Constructor and Description |
|---|
OptimizationAllocationModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(OptimizationAllocationModel.OptimizationListener listener) |
void |
addLogListener() |
void |
allocateLand(Region r) |
double |
calculateFitness(List<PotentialAgent> agents) |
List<PotentialAgent> |
currentLandUseList() |
double |
getCurrentFitness() |
AllocationModel.AllocationDisplay |
getDisplay() |
abstract String |
getOptimisationType() |
com.moseph.modelutils.fastdata.DoubleMap<Service> |
getTotalSupply(List<PotentialAgent> agents) |
void |
initialise(ModelData data,
RunInfo info,
Region extent) |
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 void allocateLand(Region r)
allocateLand in interface AllocationModelpublic abstract String getOptimisationType()
public double getCurrentFitness()
public double calculateFitness(List<PotentialAgent> agents)
public com.moseph.modelutils.fastdata.DoubleMap<Service> getTotalSupply(List<PotentialAgent> agents)
public List<PotentialAgent> currentLandUseList()
public void addLogListener()
public AllocationModel.AllocationDisplay getDisplay()
getDisplay in interface AllocationModelgetDisplay in interface Displayablepublic void addListener(OptimizationAllocationModel.OptimizationListener listener)