public class CsvProductivityInnovationRepComp extends AbstractInnovationRepComp implements Initialisable
| Modifier and Type | Field and Description |
|---|---|
protected Map<Integer,Double> |
adjustments |
protected double |
baseFactor |
protected String |
colnameFactor |
protected String |
colnameTick |
protected boolean |
considerFactorsRelativeToPreviousTick
If false, defined factors are applied to the base effect (received from the innovation when
passed the first time).
|
protected String |
effectAdjustmentsCsvFile |
protected RunInfo |
rInfo |
renewalInterval| Constructor and Description |
|---|
CsvProductivityInnovationRepComp() |
| Modifier and Type | Method and Description |
|---|---|
<InnovationType extends Innovation> |
adjustRenewedInnovation(InnovationType innovation)
effectOnProductivityFactor is multiplied by adjustment, either relative
to baseFacor, which is the first effectOnProductivityFactor that occurs,
or to the last effectOnProductivityFactor.
|
void |
initialise(ModelData data,
RunInfo info,
Region extent) |
getRenewalIntervalprotected String effectAdjustmentsCsvFile
protected boolean considerFactorsRelativeToPreviousTick
protected String colnameTick
protected String colnameFactor
protected double baseFactor
protected RunInfo rInfo
public void initialise(ModelData data, RunInfo info, Region extent) throws Exception
initialise in interface Initialisabledata - model datainfo - run informationextent - region the initialisable object belongs toExceptionInitialisable.initialise(org.volante.abm.data.ModelData,
org.volante.abm.schedule.RunInfo, org.volante.abm.data.Region)public <InnovationType extends Innovation> InnovationType adjustRenewedInnovation(InnovationType innovation)
adjustRenewedInnovation in interface InnovationRepCompInnovationRepComp.adjustRenewedInnovation(org.volante.abm.institutions.innovation.Innovation)