Serialized Form
Package net.sourceforge.jabm |
simulationController
SimulationController simulationController
agentInitialiser
AgentInitialiser agentInitialiser
agentMixer
AgentMixer agentMixer
population
Population population
isRunning
boolean isRunning
isPaused
boolean isPaused
slowSleepInterval
int slowSleepInterval
- Interval in milliseconds to wait in between
steps if the simulation is to be slowed down.
A value of zero indicates full speed.
agentList
AgentList agentList
- The list of agents comprising this population.
prng
cern.jet.random.engine.RandomEngine prng
round
int round
- The current round a.k.a. tick.
maximumRounds
int maximumRounds
- The maximum number of rounds.
batch
int batch
- The index of the current simulation.
numSimulations
int numSimulations
- The total number of simulations to run.
reports
java.util.ArrayList<E> reports
- The reports that will collect data on the simulations.
simulation
Simulation simulation
- The underlying simulation.
simulationFactory
SimulationFactory simulationFactory
- The simulationFactory is responsible for initialising
the simulation at the beginning of each run.
listenersInitialised
boolean listenersInitialised
isRunning
boolean isRunning
slowSleepInterval
int slowSleepInterval
modelDescription
java.lang.String modelDescription
- A human-readable description of the model that can
be presented to the user of the model, e.g. in a GUI.
ticks
long ticks
simulationBeanName
java.lang.String simulationBeanName
- The name of the bean representing the Simulation.
simulationScope
SimulationScope simulationScope
- The container for beans with scope="simulation".
beanFactory
org.springframework.beans.factory.BeanFactory beanFactory
simulationInitialised
boolean simulationInitialised
Package net.sourceforge.jabm.agent |
interacted
boolean interacted
scheduler
EventScheduler scheduler
- The event scheduler used to fire events originating from this agent.
strategy
Strategy strategy
agents
java.util.List<E> agents
- The agents comprising this list.
size
int size
agentFactory
org.springframework.beans.factory.ObjectFactory<T> agentFactory
Package net.sourceforge.jabm.agent.utility |
coefficient
double coefficient
alpha
double alpha
beta
double beta
coefficient
double coefficient
threshold
double threshold
Package net.sourceforge.jabm.distribution |
prng
cern.jet.random.engine.RandomEngine prng
delegate
cern.jet.random.AbstractContinousDistribution delegate
initialised
boolean initialised
delegate
org.apache.commons.math3.random.EmpiricalDistribution delegate
dataFileName
java.lang.String dataFileName
binCount
int binCount
prng
cern.jet.random.engine.RandomEngine prng
mean
double mean
stdev
double stdev
min
double min
max
double max
Package net.sourceforge.jabm.event |
genericListeners
java.util.concurrent.ConcurrentLinkedQueue<E> genericListeners
- EventListeners that subscribe to all classes of events.
specificListeners
java.util.concurrent.ConcurrentHashMap<K,V> specificListeners
- A map of EventListeners that subscribe to a specific class of events,
keyed on the class of the event.
deleteQueue
java.util.Stack<E> deleteQueue
subject
Agent subject
- The main agent that has arrived at the simulation.
objects
java.util.ArrayList<E> objects
- An optional list of agents that have arrived at the same time as the main
agent. This is used to implement mixing models in which, for example,
agents are randomly paired with one another in some interaction.
agent
Agent agent
generation
int generation
generation
int generation
propertyName
java.lang.String propertyName
value
double value
reportVariables
ReportVariables reportVariables
simulationController
SimulationController simulationController
simulation
Simulation simulation
strategy
Strategy strategy
- The strategy that was executed.
Package net.sourceforge.jabm.evolution |
breeder
Breeder breeder
- The breeder for this population which specifies how the population
reproduces.
breedingInterval
int breedingInterval
Package net.sourceforge.jabm.gametheory |
matrix
java.util.HashMap<K,V> matrix
numRoles
int numRoles
numStrategiesPerRole
int[] numStrategiesPerRole
numPlayersPerRole
int[] numPlayersPerRole
numPlayers
int numPlayers
numStrategies
int numStrategies
numEntries
int numEntries
numAgentsPerStrategy
int[] numAgentsPerStrategy
pureStrategyProfile
int[] pureStrategyProfile
matrix
CompressedPayoffMatrix matrix
payoffMatrix
CompressedPayoffMatrix payoffMatrix
strategies
java.util.List<E> strategies
strategyInitialisers
java.util.List<E> strategyInitialisers
payoffByStrategy
PayoffByStrategyReportVariables payoffByStrategy
currentEntry
CompressedPayoffMatrix.Entry currentEntry
csvFileName
java.lang.String csvFileName
fileNamePrefix
MutableStringWrapper fileNamePrefix
binFileName
java.lang.String binFileName
csvOut
CSVWriter csvOut
binaryOut
java.io.ObjectOutputStream binaryOut
Package net.sourceforge.jabm.init |
initialisers
java.util.ArrayList<E> initialisers
proportions
float[] proportions
initialisers
java.util.List<E> initialisers
Package net.sourceforge.jabm.learning |
monitor
LearnerMonitor monitor
action
int action
numActions
int numActions
distribution
cern.jet.random.Uniform distribution
currentLearner
int currentLearner
subLearners
StimuliResponseLearner[] subLearners
masterLearner
StimuliResponseLearner masterLearner
numStates
int numStates
- The number of possible states
numActions
int numActions
- The number of possible actions
q
double[][] q
- The matrix representing the estimated payoff of each possible action in
each possible state.
learningRate
double learningRate
- The learning rate.
discountRate
double discountRate
- The discount rate for future payoffs.
previousState
int previousState
- The previous state
currentState
int currentState
- The current state
lastActionChosen
int lastActionChosen
- The last action that was chosen.
bestAction
int bestAction
- The best action for the current state
prng
cern.jet.random.engine.RandomEngine prng
actionSelector
ActionSelector actionSelector
initialQValue
double initialQValue
k
int k
- The number of choices available to make at each iteration.
r
double r
- The recency parameter.
e
double e
- The experimentation parameter.
s1
double s1
- The scaling parameter.
q
double[] q
- Propensity for each possible action.
probabilities
DiscreteProbabilityDistribution probabilities
- Probabilities for each possible action.
iteration
int iteration
- The current iteration.
lastAction
int lastAction
- The last action chosen.
deltaP
double deltaP
- The total amount of update to the probability vector on the last iteration.
randomParamDistribution
cern.jet.random.AbstractContinousDistribution randomParamDistribution
windowSize
int windowSize
- A parameter used to adjust the size of the window
currentOutput
double currentOutput
- The current output level.
memory
FixedLengthQueue memory
qLearner
QLearner qLearner
learningRate
double learningRate
- The learning rate.
currentOutput
double currentOutput
- The current output level.
delta
double delta
- The current amount of adjustment to the output.
randomParamDistribution
cern.jet.random.AbstractContinousDistribution randomParamDistribution
gamma
double gamma
- cumulative discounted delta
momentum
double momentum
Package net.sourceforge.jabm.mixing |
prng
cern.jet.random.engine.RandomEngine prng
numSteps
int numSteps
prng
cern.jet.random.engine.RandomEngine prng
arrivalProbability
double arrivalProbability
- The probability with which an agent arrives at the simulation on any
given tick.
prng
cern.jet.random.engine.RandomEngine prng
prng
cern.jet.random.engine.RandomEngine prng
groupSize
int groupSize
prng
cern.jet.random.engine.RandomEngine prng
numGroups
int numGroups
Package net.sourceforge.jabm.prng |
p
java.util.TreeSet<E> p
- The probability distribution.
reverseMap
java.util.TreeMap<K,V> reverseMap
n
int n
- The number of possible events for this distribution.
prng
cern.jet.random.engine.RandomEngine prng
seed
int seed
Package net.sourceforge.jabm.report |
timeStamp
long timeStamp
name
java.lang.String name
xVariableName
java.lang.String xVariableName
yVariableNames
java.util.List<E> yVariableNames
simulation
Simulation simulation
singleCaseReport
FrequencyReport singleCaseReport
reports
java.util.List<E> reports
variables
java.util.Map<K,V> variables
frequency
org.apache.commons.math3.stat.Frequency frequency
columnMap
java.util.HashMap<K,V> columnMap
objectMap
java.util.HashMap<K,V> objectMap
columns
java.util.ArrayList<E> columns
seriesList
java.util.List<E> seriesList
name
java.lang.String name
seperator
char seperator
types
java.lang.Class<T>[] types
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
autowrap
boolean autowrap
numColumns
int numColumns
currentColumn
int currentColumn
seperator
char seperator
append
boolean append
isVisible
boolean isVisible
isXCoordinate
boolean isXCoordinate
xCoord
double xCoord
data
java.util.Vector<E> data
stats
org.apache.commons.math3.stat.descriptive.SummaryStatistics stats
frequencyByTime
java.util.ArrayList<E> frequencyByTime
t
int t
categories
java.util.HashMap<K,V> categories
categoryCount
int categoryCount
csvFileName
java.lang.String csvFileName
binFileName
java.lang.String binFileName
payoffMap
PayoffMap payoffMap
payoffs
java.util.LinkedHashMap<K,V> payoffs
strategyIndex
java.util.Vector<E> strategyIndex
bindings
java.util.LinkedHashMap<K,V> bindings
xData
java.util.ArrayList<E> xData
yData
java.util.ArrayList<E> yData
reportVariables
XYReportVariables reportVariables
n
int n
executionFrequency
org.apache.commons.math3.stat.Frequency executionFrequency
keyList
java.util.List<E> keyList
agent
Agent agent
- If agent is non-null then only track strategies executed by
the specified agent.
population
Population population
agentIndex
int agentIndex
summaryVariableBindings
java.util.Map<K,V> summaryVariableBindings
reportVariables
ReportVariables reportVariables
relationshipTracker
RelationshipTracker relationshipTracker
clusteringCoefficients
java.util.Map<K,V> clusteringCoefficients
clusteringStats
org.apache.commons.math3.stat.descriptive.SummaryStatistics clusteringStats
timeStamp
long timeStamp
degreeStats
org.apache.commons.math3.stat.descriptive.SummaryStatistics degreeStats
inDegreeByAgent
java.util.HashMap<K,V> inDegreeByAgent
outDegreeByAgent
java.util.HashMap<K,V> outDegreeByAgent
diameter
double diameter
averagePathLength
double averagePathLength
vertexStrengthByAgent
java.util.Map<K,V> vertexStrengthByAgent
Package net.sourceforge.jabm.strategy |
actions
Strategy[] actions
currentStrategy
Strategy currentStrategy
initialPropensities
double[] initialPropensities
agent
Agent agent
scheduler
EventScheduler scheduler
learner
StimuliResponseLearner learner
prng
cern.jet.random.engine.RandomEngine prng
mutationFactory
org.springframework.beans.factory.ObjectFactory<T> mutationFactory
learner
MDPLearner learner
Package net.sourceforge.jabm.util |
underlyingDistribution
cern.jet.random.AbstractContinousDistribution underlyingDistribution
currentNumber
int currentNumber
base
int base
numDigits
int numDigits
maximumNumber
int maximumNumber
value
double value
stack
java.util.Stack<E> stack
visitedStates
java.util.HashSet<E> visitedStates
goal
int[] goal
n
int n
stack
java.util.Stack<E> stack
coordinates
double[] coordinates
serialVersionUID: 4112578634029874840L
defaults
Properties defaults
- A property list that contains default values for any keys not
found in this property list.
-
stats
org.apache.commons.math3.stat.descriptive.SummaryStatistics stats
varName
java.lang.String varName
- The name of this data set.
baseName
java.lang.String baseName
propertyNames
java.util.Set<E> propertyNames
primitiveValue
double primitiveValue
primitiveValue
long primitiveValue
Package net.sourceforge.jabm.view |
reportVariables
ReportVariables reportVariables
variableBindings
java.util.Map<K,V> variableBindings
variableNames
java.util.LinkedList<E> variableNames
listeners
java.util.LinkedList<E> listeners
chartTitle
java.lang.String chartTitle
valueAxisLabel
java.lang.String valueAxisLabel
chartPanel
org.jfree.chart.ChartPanel chartPanel
properties
java.util.Properties properties
series
Timeseries series
- The underlying time series which is the model for our chart.
variableBindings
java.util.Map<K,V> variableBindings
variableNames
java.util.LinkedList<E> variableNames
listeners
java.util.LinkedList<E> listeners
chartTitle
java.lang.String chartTitle
rangeAxisLabel
java.lang.String rangeAxisLabel
chartPanel
org.jfree.chart.ChartPanel chartPanel
- The JFreeChart ChartPanel which contains the actual swing component
for the chart.