Package org.evoludo.simulator.modules
Class CDL.IBSPop
Object
IBSPopulation
IBSDPopulation
IBSPop
- Direct Known Subclasses:
simCDL.simCDLIBS
- Enclosing class:
CDL
The extension for IBS simulations specific to voluntary (non-linear) public
goods games. This extension implements specific initial conditions that give
rise to fascinating evolutionary kaleidoscopes for deterministic updating.
-
Field Summary
Fields inherited from class IBSDPopulation
accuTypeScores, groupmodule, init, initTypeCount, module, mutation, optimizeMoran, pairmodule, strategies, strategiesScratch, strategiesTypeCount
Fields inherited from class IBSPopulation
adjustScores, competition, compGroup, debugFocal, debugModel, debugModels, debugNModels, debugSame, distrMigrants, engine, fitness, groupScores, hasLookupTable, interaction, interactions, interGroup, isMultispecies, isNeutral, logger, map2fit, maxEffScoreIdx, maxFitness, maxScore, migrationType, minFitness, minScore, nMixedInter, nPopulation, nTraits, pAddwire, playerScoreAveraged, playerScoring, pMigration, pRewire, rng, scores, smallScores, staticmodule, sumFitness, tags, typeFitness, typeScores, VACANT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Initial configuration that generates evolutionary kaleidoscopes for deterministic update rules.Methods inherited from class IBSDPopulation
adjustGameScoresAt, adjustPairGameScoresAt, adjustScoreAt, adjustScoreAt, becomesVacantAt, check, checkConvergence, commitStrategies, commitStrategyAt, countTraits, debugMarkChange, doAdjustScores, encodeStrategies, getFitnessAt, getFitnessHistogramData, getInit, getInitialTraits, getMeanFitness, getMeanTraits, getMonoScore, getPopulationSize, getScoreAt, getStatus, getStrategiesTypeCount, getTraitData, getTraitNameAt, getTraits, haveSameStrategy, init, initFrequency, initMono, initMutant, initStripes, initTemperature, initUniform, isConsistent, isMonomorphic, isSameStrategy, isVacantAt, maybeMutateAt, maybeMutateMoran, mouseHitNode, mutateAt, playGroupGameAt, playPairGameAt, preferredPlayerBest, prepareStrategies, reset, resetScoreAt, resetScores, resetStrategies, restoreFitness, restoreStrategies, setInit, setInitialTraits, setOpponentPop, setScoreAt, stripGroupVacancies, stripVacancies, swapStrategies, updateFromModelAt, updateMixedMeanScores, updatePlayerBestResponse, updatePlayerEcologyAt, updatePlayerMoranBirthDeath, updatePlayerMoranDeathBirth, updatePlayerMoranDeathBirth, updatePlayerMoranImitate, updateScoreAt, updateScores, updateStrategiesTypeCount, yalpGroupGameAt
Methods inherited from class IBSPopulation
checkGeometry, createCompetitionGeometry, createInteractionGeometry, debugScores, debugUpdatePopulationAt, doBirthDeathMigration, doDeathBirthMigration, doDiffusionMigration, doMigration, doSyncMigration, encodeFitness, encodeGeometry, encodeInteractions, generateGeometry, getCompetitionGeometry, getCompGroup, getFitness, getFitnessData, getFitnessNameAt, getFitnessNameAt, getInteractionGeometry, getInteractionsAt, getInterGroup, getMaxScore, getMigrationProb, getMigrationType, getMinScore, getModule, getNMean, getPlayerScoreAveraged, getPlayerScoring, getPopulationUpdate, getScoreNameAt, getScores, getSyncFraction, getTagAt, getTagData, getTagNameAt, getTags, getTotalFitness, migrateMoran, mouseHitNode, mutate, nextBinomial, parseGeometry, pickFitFocalIndividual, pickFitFocalIndividual, pickFitNeighborAt, pickFitNeighborAt, pickFocalIndividual, pickFocalIndividual, pickFocalSite, pickFocalSite, pickNeighborSiteAt, playGameAt, playGameSyncAt, processScore, random01, random01d, random0n, random0N, randomGaussian, removeScoreAt, removeScoreAt, restoreGeometry, restoreInteractions, setAddwire, setConsistencyCheck, setMaxEffScoreIdx, setMigrationProb, setMigrationType, setPlayerScoreAveraged, setPlayerScoring, setPopulationUpdate, setRewire, setSyncFraction, setTagAt, srandom, step, swapScoresAt, updateEffScoreRange, updateFitnessAt, updateMinMaxScores, updatePlayerAsync, updatePlayerAsyncAt, updatePlayerAt, updatePlayerBest, updatePlayerBestHalf, updatePlayerEcology, updatePlayerMoranBirthDeathAt, updatePlayerMoranDeathBirthAt, updatePlayerMoranImitateAt, updatePlayerSwap, updateProportionalAbs, updateReplicatorHalf, updateReplicatorPlus, updateScoreAt, updateScoreAt, updateThermal
-
Constructor Details
-
IBSPop
Create a new instance of the IBS model for voluntary (non-linear) public goods games.- Parameters:
engine
- the pacemaker for running the modelmodule
- the module that defines the model
-
-
Method Details
-
initKaleidoscope
protected void initKaleidoscope()Description copied from class:IBSDPopulation
Initial configuration that generates evolutionary kaleidoscopes for deterministic update rules. Whether this is possible and and what kind of initial configurations are required depends on the module. Hence this method must be overriden in subclasses that admit kaleidoscopes.Note: requires the explicit adding of the key
IBSD.Init.Type.KALEIDOSCOPE
for IBS models. For example, addif (model instanceof IBSD) { CLOption clo = ((IBSDPopulation) getIBSPopulation()).getInit().clo; clo.addKey(Init.Type.KALEIDOSCOPE); }
toorg.evoludo.simulator.modules.Module#adjustCLO(org.evoludo.util.CLOParser)
.- Overrides:
initKaleidoscope
in classIBSDPopulation
- See Also:
-