public class VariableCapitalLevelInnovation extends Innovation
PreTickAction which is after
initialisation of effective capitals but before adjustments by institutions
directly (via Institution.adjustCapitals(Cell)).| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Double> |
adoptionThresholdAdjustment
Adjusts for each AFT the required proportion of adopted among neighbours
to trial/adopt itself; Values < 1 cause the trial/adoption to be
likelier, values > 1 cause the trial/adoption to be less likely.
|
protected Set<Capital> |
affectedCapitalObjects |
protected List<String> |
affectedCapitals |
protected String |
affectiveAFTs
AFTs that count in the evaluation of social network partners.
|
protected Set<String> |
affectiveAFTset |
protected PreTickAction |
capitalAdjustmentAction |
protected String |
capitalFactorCsvFile
Increase in case of adoption in level of capital that is specified by
affectedCapital.
|
protected Map<String,Double> |
trialThresholdAdjustment
Adjusts for each AFT the required proportion of adopted among neighbours
to trial/adopt itself; Values < 1 cause the trial/adoption to be
likelier, values > 1 cause the trial/adoption to be less likely.
|
adoptionThreshold, affectedAFTs, affectedAftSet, identifier, lifeSpan, modelData, region, rInfo, trialThreshold| Constructor and Description |
|---|
VariableCapitalLevelInnovation(String identifier) |
| Modifier and Type | Method and Description |
|---|---|
double |
getAdoptionThreshold(Agent agent)
Multiplies the generic adoption factor with an AFT specific adjustment
factor.
|
double |
getTrialThreshold(Agent agent)
Multiplies the generic trial factor with an AFT specific adjustment
factor.
|
InnovationBo |
getWaitingBo(SocialAgent agent) |
void |
initialise(ModelData data,
RunInfo info,
Region r)
Assign model data, run info, and region.
|
void |
perform(InnovationAgent iagent)
Let this innovation take effect for the given agent.
|
void |
unperform(InnovationAgent agent)
Undo the effect of this innovation for the given agent.
|
getAdoptionNoise, getAffectedAFTs, getIdentifier, getLifeSpan, getTrialNoise, outdate, setAffectedAFTsprotected String capitalFactorCsvFile
protected String affectiveAFTs
protected Map<String,Double> trialThresholdAdjustment
protected Map<String,Double> adoptionThresholdAdjustment
protected PreTickAction capitalAdjustmentAction
public VariableCapitalLevelInnovation(String identifier)
identifier - public void initialise(ModelData data, RunInfo info, Region r) throws Exception
InnovationInnovationRegistry.initialise in interface Initialisableinitialise in class Innovationdata - model datainfo - run informationr - region the initialisable object belongs toExceptionInnovation.initialise(org.volante.abm.data.ModelData,
org.volante.abm.schedule.RunInfo, org.volante.abm.data.Region)public InnovationBo getWaitingBo(SocialAgent agent)
getWaitingBo in class InnovationInnovation.getWaitingBo(org.volante.abm.agent.SocialAgent)public double getTrialThreshold(Agent agent)
getTrialThreshold in class InnovationInnovation.getTrialThreshold(org.volante.abm.agent.Agent)public double getAdoptionThreshold(Agent agent)
getAdoptionThreshold in class InnovationInnovation.getTrialThreshold(org.volante.abm.agent.Agent)public void perform(InnovationAgent iagent)
Innovationperform in class InnovationInnovation.perform(org.volante.abm.agent.InnovationAgent)public void unperform(InnovationAgent agent)
Innovationunperform in class InnovationInnovation.unperform(org.volante.abm.agent.InnovationAgent)