public class RepeatingCsvInnvationTest extends InnovationTestUtils
InnovationTestUtils.CsvProductivityInnovationRepTestComp| Modifier and Type | Field and Description |
|---|---|
protected RepeatingInnovativeInstitution |
csvInstitution |
protected RepeatingProductivityInnovation |
currentCsvInnovation |
boolean |
indicator |
double[] |
INNOVATION_EFFECT_CSV_FACTORS |
double |
INNOVATION_EFFECT_ON_PRODUCTIVITY |
String |
INNOVATION_ID_CSV |
String |
REPEATING_CSV_INNOVATION_XML_FILE |
String |
REPEATING_INNOVATION_CSV_FACTOR_FILE |
innoFarmingA, innoForesterA, innovativeFarming, innovativeForestry, potentialAgentsa1, a2, allocation, c11, c12, c13, c14, c15, c16, c17, c18, c19, c21, c22, c23, c24, c25, c26, c27, c28, c29, cellCapitalsA, cellCapitalsB, competition, demandR1, demandR2, extensiveFarmingCapitalWeights, extensiveFarmingOnCA, extensiveFarmingOnCB, extensiveFarmingProductionWeights, farming, farmingGivingIn, farmingGivingUp, farmingProduction, forestry, forestryCapitalWeights, forestryGivingIn, forestryGivingUp, forestryOnCA, forestryOnCB, forestryProduction, forestryProductionWeights, modelData, persister, r1, r1cells, r2, r2cells, randomNumberCounter, regions, runInfo, w| Constructor and Description |
|---|
RepeatingCsvInnvationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adoptAndCheckCsv(InnovationAgent agent,
int ticks,
boolean relToPreviousTick,
Service service,
double initialProductivity) |
void |
setUp() |
void |
tearDown() |
void |
testCsvFactor() |
void |
testCsvFactorBaseRelativeRenewal() |
void |
testInnovationRenewal() |
addInnovationAgentsToRegion1, checkCapital, checkCapitalChange, checkInnovationState, registerInstitutionassertAgent, assertEqualMaps, assertEqualMaps, assertUnmanaged, capitals, checkDataType, checkOwnership, checkOwnership, checkSet, checkSet, countAgents, dm, getSingleProductionAgent, initTestEnvironment, print, services, setCapitals, setupBasicWorld, setupBasicWorld, setupPersister, setupPseudoRandomEngine, setupWorldpublic final String INNOVATION_ID_CSV
public final String REPEATING_CSV_INNOVATION_XML_FILE
public final String REPEATING_INNOVATION_CSV_FACTOR_FILE
public final double INNOVATION_EFFECT_ON_PRODUCTIVITY
public final double[] INNOVATION_EFFECT_CSV_FACTORS
protected RepeatingInnovativeInstitution csvInstitution
protected RepeatingProductivityInnovation currentCsvInnovation
public boolean indicator
public void tearDown()
public void testCsvFactorBaseRelativeRenewal()
public void testCsvFactor()
protected void adoptAndCheckCsv(InnovationAgent agent, int ticks, boolean relToPreviousTick, Service service, double initialProductivity)
public void testInnovationRenewal()