public interface PotentialAgent extends Initialisable
| Modifier and Type | Field and Description |
|---|---|
static PotentialAgent |
NOT_MANAGED_TYPE |
static int |
UNKNOWN_SERIAL |
| Modifier and Type | Method and Description |
|---|---|
Agent |
createAgent(Region region,
Cell... cells)
Create a new agent from this potential agent in the given region and
assign it as owner of the given cells.
|
double |
getGivingIn() |
double |
getGivingUp() |
String |
getID() |
com.moseph.modelutils.fastdata.UnmodifiableNumberMap<Service> |
getPotentialSupply(Cell cell) |
ProductionModel |
getProduction() |
int |
getSerialID() |
void |
registerPotentialAgentProductionObserver(PotentialAgentProductionObserver observer) |
void |
removePotentialAgentProductionObserver(PotentialAgentProductionObserver observer) |
initialisestatic final int UNKNOWN_SERIAL
static final PotentialAgent NOT_MANAGED_TYPE
com.moseph.modelutils.fastdata.UnmodifiableNumberMap<Service> getPotentialSupply(Cell cell)
Agent createAgent(Region region, Cell... cells)
region - cells - String getID()
int getSerialID()
double getGivingUp()
double getGivingIn()
ProductionModel getProduction()
void registerPotentialAgentProductionObserver(PotentialAgentProductionObserver observer)
void removePotentialAgentProductionObserver(PotentialAgentProductionObserver observer)