public class BoundedSocialPotentialAgent extends SocialSimplePotentialAgent
| Modifier and Type | Field and Description |
|---|---|
protected double |
givingUpProbability |
data, givingIn, givingUp, id, info, log, production, productionObserver, serialIDNOT_MANAGED_TYPE, UNKNOWN_SERIAL| Constructor and Description |
|---|
BoundedSocialPotentialAgent() |
BoundedSocialPotentialAgent(String id,
ModelData data,
ProductionModel production,
double givingUp,
double givingIn) |
| 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.
|
getGivingIn, getGivingUp, getID, getPotentialSupply, getProduction, getSerialID, initialise, productionModelChanged, registerPotentialAgentProductionObserver, removePotentialAgentProductionObserver, toStringpublic BoundedSocialPotentialAgent()
public BoundedSocialPotentialAgent(String id, ModelData data, ProductionModel production, double givingUp, double givingIn)
id - data - production - givingUp - givingIn - public Agent createAgent(Region region, Cell... cells)
PotentialAgentcreateAgent in interface PotentialAgentcreateAgent in class SocialSimplePotentialAgentSimplePotentialAgent.createAgent(org.volante.abm.data.Region,
org.volante.abm.data.Cell[])