public class BoundedSocialInnovationAgent extends DefaultSocialInnovationAgent
| Modifier and Type | Field and Description |
|---|---|
protected double |
givingUpProbability |
initialAdoptionObservationPerformed, innovations, measures, numberAdoptions, numberAgentsgivingIn, givingUp, production, typecells, currentCompetitiveness, id, productivity, regionNOT_MANAGED, NOT_MANAGED_COMPETITION, NOT_MANAGED_ID| Constructor and Description |
|---|
BoundedSocialInnovationAgent() |
BoundedSocialInnovationAgent(PotentialAgent type,
String id,
ModelData data,
Region r,
ProductionModel prod,
double givingUp,
double givingIn,
double givingUpProbability)
Mainly used for testing purposes
|
BoundedSocialInnovationAgent(String id,
ModelData data) |
| Modifier and Type | Method and Description |
|---|---|
void |
considerGivingUp()
Asks this agent if it wants to give up
|
addToGeography, considerAdoption, considerInnovationsNextStep, considerRejection, considerTrial, die, getAgentId, getInnovationsAwareOf, getMilieuGroup, getNetworkComp, getNetworkMeasureObject, getState, initialAdoptionObservation, makeAdopted, makeAware, makeTrial, perceiveSocialNetwork, perceiveSocialNetwork, receiveNotification, rejectInnovation, removeInnovation, setNetworkComp, setNetworkMeasureObject, toStringcanTakeOver, getGivingIn, getGivingUp, getProductionFunction, getProductionModel, getType, infoString, setGivingIn, setGivingUp, setProductionFunction, supply, updateSupplyaddCell, getAge, getCells, getCompetitiveness, getHomeCell, getID, getRegion, giveUp, removeCell, setAge, setId, setRegion, tickEndUpdate, tickStartUpdate, toRemove, updateCompetitivenessclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetProductionModeladdCell, canTakeOver, getAge, getCells, getCompetitiveness, getGivingIn, getGivingUp, getHomeCell, getID, getRegion, getType, infoString, removeCell, setAge, setGivingIn, setGivingUp, setRegion, supply, tickEndUpdate, tickStartUpdate, toRemove, updateCompetitiveness, updateSupplypublic BoundedSocialInnovationAgent()
public BoundedSocialInnovationAgent(String id, ModelData data)
id - agent iddata - model datapublic BoundedSocialInnovationAgent(PotentialAgent type, String id, ModelData data, Region r, ProductionModel prod, double givingUp, double givingIn, double givingUpProbability)
type - potential agentid - agent iddata - model datar - regionprod - production modelgivingUp - giving up thresholdgivingIn - giving in thresholdgivingUpProbability - public void considerGivingUp()
AgentconsiderGivingUp in interface AgentconsiderGivingUp in class DefaultAgent