Package | Description |
---|---|
net.sourceforge.jabm |
The top-level package for JABM.
|
net.sourceforge.jabm.agent |
Classes defining agentsThe top-level package for JABM.
|
net.sourceforge.jabm.event |
Classes representing events that have occurred in the simulation.
|
net.sourceforge.jabm.evolution |
Classes for implementing evolutionary models and social learning.
|
net.sourceforge.jabm.gametheory |
Classes for performing empirical game-theoretic analysis of agent-based models.
|
net.sourceforge.jabm.mixing |
This package provides different policies specifying how the agents in
the population interact (or "mix") with each other during the course
of the simulation.
|
net.sourceforge.jabm.report |
Classes implementing monitoring and reporting functionality.
|
net.sourceforge.jabm.strategy |
Classes representing the strategies used by the agents in the simulation.
|
Modifier and Type | Method and Description |
---|---|
Agent |
Population.getRandomAgent() |
Modifier and Type | Method and Description |
---|---|
Collection<Agent> |
Population.getAgents() |
Modifier and Type | Method and Description |
---|---|
void |
Population.add(Agent agent) |
Constructor and Description |
---|
Population(Collection<Agent> agents,
cern.jet.random.engine.RandomEngine prng) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractAgent
An abstract superclass for JABM agents which provides default event-handling
functionality implementing several methods in the
Agent
interface. |
Modifier and Type | Field and Description |
---|---|
protected org.springframework.beans.factory.ObjectFactory<Agent> |
AgentList.agentFactory |
protected List<Agent> |
AgentList.agents
The agents comprising this list.
|
static Comparator<Agent> |
AgentList.ascendingFitnessComparator |
static Comparator<Agent> |
AgentList.descendingFitnessComparator |
Modifier and Type | Method and Description |
---|---|
Agent |
AgentList.get(int i) |
Agent |
AgentList.remove(int index) |
Modifier and Type | Method and Description |
---|---|
org.springframework.beans.factory.ObjectFactory<Agent> |
AgentList.getAgentFactory() |
List<Agent> |
AgentList.getAgents() |
Iterator<Agent> |
AgentList.iterator() |
Modifier and Type | Method and Description |
---|---|
void |
AgentList.add(Agent agent) |
void |
AgentList.set(int i,
Agent agent) |
Modifier and Type | Method and Description |
---|---|
boolean |
AgentList.addAll(Collection<? extends Agent> c) |
void |
AgentList.setAgentFactory(org.springframework.beans.factory.ObjectFactory<Agent> agentFactory) |
void |
AgentList.setAgents(List<Agent> agents) |
void |
AgentList.sortAgents(Comparator<Agent> comparator) |
Constructor and Description |
---|
AgentList(Agent agent)
Create a list comprising a single agent.
|
Constructor and Description |
---|
AgentList(Collection<Agent> agents)
Create an AgentList from the supplied Collection of agents.
|
AgentList(int size,
org.springframework.beans.factory.ObjectFactory<Agent> agentFactory)
Create an AgentList by manufacturing objects from the supplied
factory.
|
Modifier and Type | Field and Description |
---|---|
protected Agent |
AgentEvent.agent |
protected Agent |
AgentArrivalEvent.subject
The main agent that has arrived at the simulation.
|
Modifier and Type | Field and Description |
---|---|
protected ArrayList<Agent> |
AgentArrivalEvent.objects
An optional list of agents that have arrived at the same time as the main
agent.
|
Modifier and Type | Method and Description |
---|---|
Agent |
AgentEvent.getAgent() |
Agent |
AgentArrivalEvent.getSubject() |
Modifier and Type | Method and Description |
---|---|
ArrayList<Agent> |
AgentArrivalEvent.getObjects() |
Modifier and Type | Method and Description |
---|---|
void |
AgentArrivalEvent.setSubject(Agent subject) |
Modifier and Type | Method and Description |
---|---|
void |
AgentArrivalEvent.setObjects(ArrayList<Agent> objects) |
Constructor and Description |
---|
AgentArrivalEvent(SimulationController controller,
Agent subject,
ArrayList<Agent> objects) |
AgentEvent(Agent agent) |
Constructor and Description |
---|
AgentArrivalEvent(SimulationController controller,
Agent subject,
ArrayList<Agent> objects) |
Modifier and Type | Field and Description |
---|---|
protected HashMap<Agent,Double> |
EMAFitnessFunction.fitnesses |
Modifier and Type | Method and Description |
---|---|
double |
EMAFitnessFunction.getFitness(Agent i) |
double |
FitnessProportionateBreeder.getFitness(Agent i) |
double |
FitnessFunction.getFitness(Agent i) |
void |
StrategyImitationOperator.inheritBehaviour(Agent child,
Agent parent) |
void |
ImitationOperator.inheritBehaviour(Agent child,
Agent parent) |
void |
MutationOperator.mutate(Agent agent) |
void |
FitnessProportionateBreeder.reproduce(Agent child,
Agent parent) |
Modifier and Type | Method and Description |
---|---|
Collection<Agent> |
GameTheoreticSimulationController.getAgents() |
Modifier and Type | Field and Description |
---|---|
static ArrayList<Agent> |
RandomArrivalAgentMixer.EMPTY_LIST |
static ArrayList<Agent> |
RandomRobinAgentMixer.EMPTY_LIST |
Modifier and Type | Method and Description |
---|---|
void |
FullRandomArrivalAgentMixer.fireAgentArrivalEvent(Agent agent,
AgentList group,
SimulationController simulation) |
void |
RandomArrivalAgentMixer.fireAgentArrivalEvent(Agent agent,
AgentList group,
SimulationController simulation) |
Modifier and Type | Field and Description |
---|---|
protected Agent |
StrategyExecutionFrequency.agent
If agent is non-null then only track strategies executed by
the specified agent.
|
protected Agent |
FittestStrategyReportVariables.fittestAgent |
Modifier and Type | Field and Description |
---|---|
protected Map<Agent,Double> |
WeightedGraphMetrics.clusteringCoefficients |
protected HashMap<Agent,Integer> |
WeightedGraphMetrics.inDegreeByAgent |
protected HashMap<Agent,Integer> |
WeightedGraphMetrics.outDegreeByAgent |
Modifier and Type | Method and Description |
---|---|
Map<Agent,Double> |
WeightedGraphMetrics.getClusteringCoefficients() |
edu.uci.ics.jung.graph.Graph<Agent,WeightedEdge> |
WeightedGraphMetrics.getGraph() |
edu.uci.ics.jung.graph.Graph<Agent,WeightedEdge> |
RelationshipTracker.getGraph() |
Modifier and Type | Method and Description |
---|---|
double |
WeightedGraphMetrics.computeWeightedClusteringCoefficient(Agent vertex) |
double |
WeightedGraphMetrics.degree(Agent vertex) |
double |
WeightedGraphMetrics.edgeStrength(Agent i,
Agent j) |
double |
RelationshipTracker.edgeStrength(Agent i,
Agent j) |
int |
RelationshipTracker.inDegree(Agent vertex) |
double |
WeightedGraphMetrics.outDegree(Agent vertex) |
int |
RelationshipTracker.outDegree(Agent vertex) |
double |
WeightedGraphMetrics.vertexStrength(Agent vertex) |
double |
RelationshipTracker.vertexStrength(Agent vertex) |
Modifier and Type | Field and Description |
---|---|
protected Agent |
AbstractStrategy.agent |
Modifier and Type | Method and Description |
---|---|
Agent |
AbstractStrategy.getAgent() |
Agent |
Strategy.getAgent() |
Modifier and Type | Method and Description |
---|---|
void |
ImitatingStrategy.imitate(Agent otherAgent) |
void |
RlStrategyWithImitation.imitate(Agent otherAgent) |
void |
RlStrategyWithState.setAgent(Agent agent) |
void |
AbstractStrategy.setAgent(Agent agent) |
void |
RlStrategy.setAgent(Agent agent) |
void |
Strategy.setAgent(Agent agent)
Configure the agent associated with this strategy.
|
Modifier and Type | Method and Description |
---|---|
void |
RlStrategyWithState.execute(List<Agent> otherAgents) |
void |
AbstractStrategy.execute(List<Agent> otherAgents) |
void |
RlStrategy.execute(List<Agent> otherAgents) |
void |
Strategy.execute(List<Agent> otherAgents)
Execute the behaviour defined by this strategy.
|
Constructor and Description |
---|
AbstractRlStrategy(Agent agent) |
AbstractStrategy(Agent agent) |
AbstractStrategy(EventScheduler scheduler,
Agent agent) |
RlStrategy(Agent agent,
org.springframework.beans.factory.ObjectFactory<Strategy> strategyFactory,
StimuliResponseLearner learner) |
RlStrategyWithImitation(Agent agent,
org.springframework.beans.factory.ObjectFactory<Strategy> strategyFactory,
StimuliResponseLearner learner) |
RlStrategyWithState(Agent agent,
org.springframework.beans.factory.ObjectFactory<Strategy> strategyFactory,
MDPLearner learner) |
Copyright © 2014. All rights reserved.