public class RepeatingCapitalLevelInnovation extends Innovation implements RepeatingInnovation
| Modifier and Type | Field and Description |
|---|---|
protected String |
affectedCapital |
protected Capital |
affectedCapitalObject |
protected String |
affectiveAFTs
AFTs that count in the evaluation of social network partners.
|
protected Set<String> |
affectiveAFTset |
protected double |
effectOnCapitalFactor
Increase in case of adoption in level of capital that is specified by
affectedCapital.
|
protected InnovationRepComp |
repComp |
protected Map<String,Double> |
socialPartnerShareAdjustment
Specifies for each AFT the required proportions of adopted among
neighbours to adopt itself; Values > 1 cause the trial/adoption to be
likelier, values < 1 cause to adoption to be less likely.
|
adoptionThreshold, affectedAFTs, affectedAftSet, identifier, lifeSpan, modelData, region, rInfo, trialThreshold| Constructor and Description |
|---|
RepeatingCapitalLevelInnovation(String identifier) |
| Modifier and Type | Method and Description |
|---|---|
double |
getEffectOnCapitalFactor() |
RepeatingInnovation |
getNewInnovation()
Produces a new repeating innovation with the same lifespan as this innovation, starting at
the tick of calling.
|
InnovationRepComp |
getRepetitionComp()
Get the innovation's repetition component.
|
double |
getTrialThreshold(Agent agent)
Multiplies the generic adoption factor with AFT specific social partner
share adjustment factor.
|
InnovationBo |
getWaitingBo(SocialAgent agent) |
void |
initialise(ModelData mData,
RunInfo rInfo,
Region region)
Assign model data, run info, and region.
|
void |
perform(InnovationAgent agent)
OPerates on the cell's base capital levels!
|
void |
setEffectOnCapitalFactor(double effectOnCapitalFactor) |
void |
unperform(InnovationAgent agent)
Undo the effect of this innovation for the given agent.
|
getAdoptionNoise, getAdoptionThreshold, getAffectedAFTs, getIdentifier, getLifeSpan, getTrialNoise, outdate, setAffectedAFTsprotected InnovationRepComp repComp
protected String affectedCapital
protected double effectOnCapitalFactor
protected String affectiveAFTs
protected Map<String,Double> socialPartnerShareAdjustment
protected Capital affectedCapitalObject
public RepeatingCapitalLevelInnovation(String identifier)
identifier - public void initialise(ModelData mData, RunInfo rInfo, Region region) throws Exception
InnovationInnovationRegistry.initialise in interface Initialisableinitialise in class InnovationmData - model datarInfo - run informationregion - region the initialisable object belongs toExceptionInnovation.initialise(org.volante.abm.data.ModelData,
org.volante.abm.schedule.RunInfo, org.volante.abm.data.Region)public double getTrialThreshold(Agent agent)
getTrialThreshold in class InnovationInnovation.getTrialThreshold(org.volante.abm.agent.Agent)public RepeatingInnovation getNewInnovation()
RepeatingInnovationgetNewInnovation in interface RepeatingInnovationRepeatingInnovation.getNewInnovation()public InnovationRepComp getRepetitionComp()
RepeatingInnovationgetRepetitionComp in interface RepeatingInnovationRepeatingInnovation.getRepetitionComp()public InnovationBo getWaitingBo(SocialAgent agent)
getWaitingBo in class InnovationInnovation.getWaitingBo(org.volante.abm.agent.SocialAgent)public void perform(InnovationAgent agent)
perform in class InnovationInnovation.perform(org.volante.abm.agent.InnovationAgent)public void unperform(InnovationAgent agent)
Innovationunperform in class InnovationInnovation.unperform(org.volante.abm.agent.InnovationAgent)public double getEffectOnCapitalFactor()
public void setEffectOnCapitalFactor(double effectOnCapitalFactor)