Serialized Form


Package massim.competition2006

Class massim.competition2006.GridSimulationAgentAction extends AbstractGridSimulationAgentAction implements Serializable

serialVersionUID: -7284135303106342780L

Class massim.competition2006.GridSimulationAgentPerception extends GoldGridSimulationAgentPerception implements Serializable

serialVersionUID: -5791498406627754380L

Serialized Fields

posx

int posx

posy

int posy

step

int step

Class massim.competition2006.GridSimulationAgentState extends SimulationAgentState implements Serializable

serialVersionUID: -5803961944118937846L

Serialized Fields

agentHoldsGold

java.lang.Boolean agentHoldsGold

agentInDepot

java.lang.Boolean agentInDepot

Class massim.competition2006.GridSimulationWorldState extends SimulationWorldState implements Serializable

serialVersionUID: 7294929408559440428L

Serialized Fields

board

GridSimulationCell[][] board

numberOfGoldItems

java.lang.Integer numberOfGoldItems

depotx

java.lang.Integer depotx

depoty

java.lang.Integer depoty

Package massim.competition2007

Class massim.competition2007.GridSimulationAgentAction extends AbstractGridSimulationAgentAction implements Serializable

serialVersionUID: -7284135303106342780L

Class massim.competition2007.GridSimulationAgentPerception extends GoldGridSimulationAgentPerception implements Serializable

serialVersionUID: -5791498406627754380L

Serialized Fields

items

int items

Class massim.competition2007.GridSimulationAgentState extends SimulationAgentState implements Serializable

serialVersionUID: -5803961944118937846L

Serialized Fields

currentItems

java.lang.Integer currentItems

timeInDepot

java.lang.Integer timeInDepot

wasPushed

java.lang.Boolean wasPushed

actionDone

java.lang.Boolean actionDone

agentHoldsGold

java.lang.Boolean agentHoldsGold

agentInDepot

java.lang.Boolean agentInDepot

Class massim.competition2007.GridSimulationWorldState extends SimulationWorldState implements Serializable

serialVersionUID: 7294929408559440428L

Serialized Fields

board

GridSimulationCell[][] board

numberOfGoldItems

java.lang.Integer numberOfGoldItems

depotx

java.lang.Integer depotx

depoty

java.lang.Integer depoty

maxNumberOfCarriedGoldItems

java.lang.Integer maxNumberOfCarriedGoldItems

informationDistortionProbability

java.lang.Integer informationDistortionProbability

actionFailureProbability

java.lang.Integer actionFailureProbability

maxActionFailureProbability

java.lang.Integer maxActionFailureProbability

Package massim.competition2008

Class massim.competition2008.GridSimulationAgentAction extends AbstractGridSimulationAgentAction implements Serializable

serialVersionUID: -7284135303106342780L

Class massim.competition2008.GridSimulationAgentState extends SimulationAgentState implements Serializable

serialVersionUID: -5803961944118937846L

Serialized Fields

actionFailureProbability

java.lang.Integer actionFailureProbability

actionFailed

java.lang.Boolean actionFailed

wasPushed

java.lang.Boolean wasPushed

actionDone

java.lang.Boolean actionDone

direction

java.lang.String direction

Class massim.competition2008.GridSimulationWorldState extends SimulationWorldState implements Serializable

serialVersionUID: 7294929408559440428L

Serialized Fields

board

GridSimulationCell[][] board

numberOfCows

int numberOfCows

stable1X

java.lang.Integer[] stable1X

stable1Y

java.lang.Integer[] stable1Y

stable2X

java.lang.Integer[] stable2X

stable2Y

java.lang.Integer[] stable2Y

cowSpeed

int cowSpeed

agentSpeed

int agentSpeed

lineOfSight

int lineOfSight

fogprobability

int fogprobability

cowPrivateField

int cowPrivateField

cowSight

int cowSight

agentWeight

int agentWeight

cowAttractedWeight

int cowAttractedWeight

cowScareWeight

int cowScareWeight

obstacleWeight

int obstacleWeight

emptyWeight

int emptyWeight

weight

double weight

epsilon

double epsilon

numberOfFences

int numberOfFences

switchX

int[] switchX

switchY

int[] switchY

fenceLength

int[] fenceLength

fenceDirection

java.lang.String[] fenceDirection

cows_manager

java.util.Vector<E> cows_manager

Package massim.competition2009

Class massim.competition2009.GridSimulationAgentAction extends AbstractGridSimulationAgentAction implements Serializable

serialVersionUID: -7284135303106342780L

Class massim.competition2009.GridSimulationAgentState extends SimulationAgentState implements Serializable

serialVersionUID: -5803961944118937846L

Serialized Fields

actionFailureProbability

java.lang.Integer actionFailureProbability

actionFailed

java.lang.Boolean actionFailed

wasPushed

java.lang.Boolean wasPushed

actionDone

java.lang.Boolean actionDone

direction

java.lang.String direction

Class massim.competition2009.GridSimulationCowAgent extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

posx

int posx

posy

int posy

oldPosX

int oldPosX

oldPosY

int oldPosY

direction

java.lang.String direction

old_direction

java.lang.String old_direction

actionDone

boolean actionDone

ID

java.lang.String ID

cowTurn

int cowTurn

old_vector

double[] old_vector

w_state

GridSimulationWorldState w_state

Class massim.competition2009.GridSimulationWorldState extends SimulationWorldState implements Serializable

serialVersionUID: 7294929408559440428L

Serialized Fields

board

GridSimulationCell[][] board

numberOfCows

int numberOfCows

stable1X

java.lang.Integer[] stable1X

stable1Y

java.lang.Integer[] stable1Y

stable2X

java.lang.Integer[] stable2X

stable2Y

java.lang.Integer[] stable2Y

cowSpeed

int cowSpeed

agentSpeed

int agentSpeed

lineOfSight

int lineOfSight

fogprobability

int fogprobability

cowPrivateField

int cowPrivateField

cowSight

int cowSight

agentWeight

int agentWeight

cowAttractedWeight

int cowAttractedWeight

cowScareWeight

int cowScareWeight

obstacleWeight

int obstacleWeight

emptyWeight

int emptyWeight

weight

double weight

epsilon

double epsilon

numberOfFences

int numberOfFences

switchX

int[] switchX

switchY

int[] switchY

fenceLength

int[] fenceLength

fenceDirection

java.lang.String[] fenceDirection

cows_manager

java.util.Vector<E> cows_manager

outputFolder

java.lang.String outputFolder

Package massim.competition2010

Class massim.competition2010.GridSimulationAgentAction extends AbstractGridSimulationAgentAction implements Serializable

serialVersionUID: -7284135303106342780L

Class massim.competition2010.GridSimulationAgentFinalPerceptionAverageScore extends SimulationAgentFinalPerception implements Serializable

serialVersionUID: 6724034354008818298L

Serialized Fields

averageScore

double averageScore

Class massim.competition2010.GridSimulationAgentPerceptionAverage extends SimulationAgentPerception implements Serializable

serialVersionUID: -5791498406627754380L

Serialized Fields

cowsInCorral

long cowsInCorral

perception

GridSimulationPerceptionCell[][] perception

Class massim.competition2010.GridSimulationAgentState extends SimulationAgentState implements Serializable

serialVersionUID: -5803961944118937846L

Serialized Fields

actionFailureProbability

java.lang.Integer actionFailureProbability

actionFailed

java.lang.Boolean actionFailed

wasPushed

java.lang.Boolean wasPushed

actionDone

java.lang.Boolean actionDone

direction

java.lang.String direction

Class massim.competition2010.GridSimulationCowAgent extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

posx

int posx

posy

int posy

oldPosX

int oldPosX

oldPosY

int oldPosY

direction

java.lang.String direction

old_direction

java.lang.String old_direction

actionDone

boolean actionDone

ID

java.lang.String ID

cowTurn

int cowTurn

old_vector

double[] old_vector

w_state

GridSimulationWorldState w_state

Class massim.competition2010.GridSimulationWorldState extends SimulationWorldState implements Serializable

serialVersionUID: 7294929408559440428L

Serialized Fields

board

GridSimulationCell[][] board

numberOfCows

int numberOfCows

stable1X

java.lang.Integer[] stable1X

stable1Y

java.lang.Integer[] stable1Y

stable2X

java.lang.Integer[] stable2X

stable2Y

java.lang.Integer[] stable2Y

cowSpeed

int cowSpeed

agentSpeed

int agentSpeed

lineOfSight

int lineOfSight

fogprobability

int fogprobability

cowPrivateField

int cowPrivateField

cowSight

int cowSight

agentWeight

int agentWeight

cowAttractedWeight

int cowAttractedWeight

cowScareWeight

int cowScareWeight

obstacleWeight

int obstacleWeight

emptyWeight

int emptyWeight

epsilon

double epsilon

numberOfFences

int numberOfFences

switchX

int[] switchX

switchY

int[] switchY

fenceLength

int[] fenceLength

fenceDirection

java.lang.String[] fenceDirection

cows_manager

java.util.Vector<E> cows_manager

outputFolder

java.lang.String outputFolder

cowsSum

long[] cowsSum

cowsInCorral

int[] cowsInCorral

averageScore

double[] averageScore

Package massim.competition2011

Class massim.competition2011.GraphSimulationAgentAction extends AbstractGridSimulationAgentAction implements Serializable

serialVersionUID: -7284135303106342780L

Class massim.competition2011.GraphSimulationAgentFinalPerception extends java.lang.Object implements Serializable

serialVersionUID: -4593915560115551878L

Serialized Fields

score

long score
The final score of the team.


ranking

int ranking
The ranking of the team, according to team scores, 1 being first (winner).

Class massim.competition2011.GraphSimulationAgentInitialPerception extends java.lang.Object implements Serializable

serialVersionUID: 8293224111557780965L

Serialized Fields

self

GraphSimulationAgentState self
The state of the agent to which this perception belongs.


steps

int steps
The number of steps that this simulation will run.


vertices

int vertices
The number of vertices that the map graph has.


edges

int edges
The number of edges that the map graph has.


role

java.lang.String role
The agent's role


teamMembers

java.util.Collection<E> teamMembers
A collection of agent states, holding the states of all the team Members in the same team of the owner of this perception.

Class massim.competition2011.GraphSimulationAgentPerception extends java.lang.Object implements Serializable

serialVersionUID: -5791498406627754380L

Serialized Fields

self

GraphSimulationAgentState self
The state of the agent to which this perception belongs.


team

TeamState team
The state of the team of the agent owner of this perception.


nodes

java.util.Set<E> nodes
The set of nodes that are currently visible to the agent


edges

java.util.Set<E> edges
The set of edges that are currently visible to the agent


agents

java.util.Set<E> agents
The set of agent that are currently visible to the agent


probedNodes

java.util.Set<E> probedNodes
The set of nodes that where probed in the previous step, for which the agent owner of this perception should get extended information.


surveyedEdges

java.util.Set<E> surveyedEdges
The set of edges that where surveyed in the previous step, for which the agent owner of this perception should get extended information.


inspectedAgents

java.util.Set<E> inspectedAgents
The set of agents that where inspected in the previous step, for which the agent owner of this perception should get extended information.


step

int step
The current simulation step

Class massim.competition2011.GraphSimulationAgentState extends java.lang.Object implements Serializable

serialVersionUID: 5737421381825241511L

Serialized Fields

team

java.lang.String team
The name of the agent's team


name

java.lang.String name
The name of the agent


roleName

java.lang.String roleName
The name of the agent's role


maxEnergy

int maxEnergy
The agent's maximum energy (that can be increased via the buy action).


maxEnergyDisabled

int maxEnergyDisabled
The agent's maximum energy if the agent is disabled (when health == 0).


energy

int energy
The agent's current energy.


maxHealth

int maxHealth
The agent's maximum health (that can be increased via the buy action).


health

int health
The agent's current health.


strength

int strength
The agent's strength (that can be increased via the buy action).


visRange

int visRange
The agent's visibility range (that can be increased via the buy action).


node

GraphNode node
The current node of this agent (that is, the agent's position within the map).


action

java.lang.String action
Holds the name of the action that the agents wants to execute in the current step.


param

java.lang.String param
Holds the parameter String for the action that the agents wants to execute in the current step.


lastAction

java.lang.String lastAction
Holds the name of the last executed action, to be used in next perception as well as in monitoring.


lastActionResult

java.lang.String lastActionResult
Holds the result of the last executed action, to be used in next perception as well as in monitoring.


lastActionParam

java.lang.String lastActionParam
Holds the parameter String of the last executed action, to be used in next perception as well as in monitoring.


attacked

boolean attacked
A flag to indicate that the agent was attacked in the current step. The need for this flag is because some actions are specified to fail when the agent is under attack.

Class massim.competition2011.GraphSimulationConfiguration extends DefaultSimpleSimulationConfiguration implements Serializable

serialVersionUID: 5802657031982257279L

Serialized Fields

tournamentName

java.lang.String tournamentName
Tournament's name.


simulationName

java.lang.String simulationName
Simulation's name.


teamNames

java.util.Vector<E> teamNames

maxNumberOfSteps

int maxNumberOfSteps
The max number of steps that this simulation should run if not finalized or interrupted before.


numberOfAgents

int numberOfAgents
The number of agents taking part in the simulation.


numberOfTeams

int numberOfTeams
The number of teams taking part in the simulation.


agentsPerTeam

int agentsPerTeam
The number of agents taking part in each team.


numberOfNodes

int numberOfNodes
The number of nodes for the graph to generate.


gridWidth

int gridWidth
The width of the abstract grid in which the graph nodes will be randomly placed when generating the graph.


gridHeight

int gridHeight
The height of the abstract grid in which the graph nodes will be randomly placed when generating the graph.


cellWidth

int cellWidth
The width of each grid cell in the abstract grid in which the graph nodes will be randomly placed when generating the graph. Used for visualization.


minNodeWeight

int minNodeWeight
Minimum possible value for the random assignment of weights to nodes during map generation.


maxNodeWeight

int maxNodeWeight
Maximum possible value for the random assignment of weights to nodes during map generation.


nodeWeighting

int nodeWeighting
Factor for weighting the random and the gradient component of the nodeWeight. 100 means totally random, 0 means a fully gradient weight.


minEdgeCost

int minEdgeCost
Minimum possible value for the random assignment of costs to edges during map generation.


maxEdgeCost

int maxEdgeCost
Maximum possible value for the random assignment of costs to edges during map generation.


actionsConfMap

java.util.HashMap<K,V> actionsConfMap
A map from action names to their configurations.


rolesConfMap

java.util.HashMap<K,V> rolesConfMap
A map from role names to their configurations.


achievements

java.util.Vector<E> achievements
A vector holding the configurations of every possible achievement.


randomSeed

long randomSeed
The seed that will be used for the random graph generator


mapGenerator

java.lang.String mapGenerator
The type of generator to be used

Class massim.competition2011.GraphSimulationWorldState extends SimulationWorldState implements Serializable

serialVersionUID: -6316439899157240323L

Serialized Fields

nodes

java.util.Vector<E> nodes
The nodes conforming the map graph.


edges

java.util.Vector<E> edges
The edges conforming the map graph.


neighborsMap

java.util.Map<K,V> neighborsMap
A map holding the list of nodes directly connected to each node. It is used as a cache to provide fast access to this information that is heavily accessed during the simulation execution.


connectedEdgesMap

java.util.Map<K,V> connectedEdgesMap
A map holding the list of edges connected to each node. It is used as a cache to provide fast access to this information that is heavily accessed during the simulation execution.


agentNamesMap

java.util.Map<K,V> agentNamesMap
A map from an agent's name to its current state. It is used as a cache to provide fast access to this information that is heavily accessed during the simulation execution.


nodeNamesMap

java.util.Map<K,V> nodeNamesMap
A map from a node's name to its current state. It is used as a cache to provide fast access to this information that is heavily accessed during the simulation execution.


agents

java.util.Vector<E> agents
A vector holding all agents that take part in the simulation.


config

GraphSimulationConfiguration config
The configuration of this simulation.


teamsStates

java.util.Vector<E> teamsStates
A vector holding the states of all the teams that take part in the simulation.


sizeX

int sizeX
The width of the abstract grid to which the graph is subscribed.


sizeY

int sizeY
The height of the abstract grid to which the graph is subscribed.


random

java.util.Random random

generator

GraphGenerator generator
The generator used for generating the graph


Package massim.competition2011.monitor

Class massim.competition2011.monitor.GraphFileViewer extends GraphMonitor implements Serializable

serialVersionUID: -573692905809930002L

Serialized Fields

dirName

java.lang.String dirName

fileNumbers

java.util.Vector<E> fileNumbers

fileIdx

int fileIdx

currFile

java.io.File currFile

dir

java.io.File dir

factory

javax.xml.parsers.DocumentBuilderFactory factory

buttonFirst

javax.swing.JButton buttonFirst

buttonPrev

javax.swing.JButton buttonPrev

buttonNext

javax.swing.JButton buttonNext

buttonLast

javax.swing.JButton buttonLast

buttonPlay

javax.swing.JButton buttonPlay

buttonPlayFs

javax.swing.JButton buttonPlayFs

buttonPlaySl

javax.swing.JButton buttonPlaySl

buttonChoose

javax.swing.JButton buttonChoose

fileChooser

javax.swing.JFileChooser fileChooser

playSync

java.lang.Object playSync

playing

boolean playing

playSpeeds

long[] playSpeeds

playSpeedIdx

int playSpeedIdx

restart

boolean restart

Class massim.competition2011.monitor.GraphMonitor extends javax.swing.JFrame implements Serializable

serialVersionUID: 4099856653707665324L

Serialized Fields

saveXMLs

boolean saveXMLs

xmlsFolder

java.lang.String xmlsFolder

simId

java.lang.String simId

fileBaseName

java.lang.String fileBaseName

xmlWriteSync

java.lang.Object xmlWriteSync

xmlDoc1

org.w3c.dom.Document xmlDoc1

xmlDoc2

org.w3c.dom.Document xmlDoc2

prevSimName

java.lang.String prevSimName

prevStep

java.lang.String prevStep

teamDomColors

java.awt.Color[] teamDomColors

agentColors

java.awt.Color[] agentColors

rmihost

java.lang.String rmihost

rmiport

int rmiport

service

java.lang.String service

simulationRunning

boolean simulationRunning

worldView

massim.competition2011.monitor.GraphMonitor.WorldView worldView

scrollPane

javax.swing.JScrollPane scrollPane

infoPanel

massim.competition2011.monitor.GraphMonitor.InfoPanel infoPanel

pauseButton

javax.swing.JButton pauseButton

parsedDoc

boolean parsedDoc

paused

java.lang.Boolean paused

teams

java.util.Vector<E> teams

nodes

java.util.Vector<E> nodes

edges

java.util.Vector<E> edges

teamsInfo

java.util.Vector<E> teamsInfo

simStep

java.lang.String simStep

syncObject

java.lang.Object syncObject

selectedNode

java.lang.String selectedNode

selectedAgent

java.lang.String selectedAgent

Package massim.competition2011.scenario

Class massim.competition2011.scenario.Achievement extends java.lang.Object implements Serializable

serialVersionUID: -2761429573471745751L

Serialized Fields

name

java.lang.String name

achievementClass

java.lang.String achievementClass

points

int points

quantity

int quantity

achieved

boolean achieved

Class massim.competition2011.scenario.ActionConfiguration extends java.lang.Object implements Serializable

serialVersionUID: -7387300848628264823L

Serialized Fields

name

java.lang.String name

energyCost

int energyCost

energyCostFailed

int energyCostFailed

energyCostDisabled

int energyCostDisabled

energyCostFailedDisabled

int energyCostFailedDisabled

healthCost

int healthCost

healthCostFailed

int healthCostFailed

healthCostDisabled

int healthCostDisabled

healthCostFailedDisabled

int healthCostFailedDisabled

pointsCost

int pointsCost

pointsCostFailed

int pointsCostFailed

pointsCostDisabled

int pointsCostDisabled

pointsCostFailedDisabled

int pointsCostFailedDisabled

Class massim.competition2011.scenario.DominatedArea extends java.lang.Object implements Serializable

serialVersionUID: -5265576592655218606L

Serialized Fields

team

java.lang.String team

size

int size

totalScore

int totalScore

agents

java.util.Collection<E> agents

nodes

java.util.Collection<E> nodes

Class massim.competition2011.scenario.GraphEdge extends java.lang.Object implements Serializable

serialVersionUID: -2064294215950641200L

Serialized Fields

node1

GraphNode node1

node2

GraphNode node2

weight

int weight

Class massim.competition2011.scenario.GraphGeneratorTriangulation extends GraphGenerator implements Serializable

Class massim.competition2011.scenario.GraphGeneratorTriangulationBalanced extends GraphGenerator implements Serializable

Serialized Fields

counterparts

java.util.HashMap<K,V> counterparts

Class massim.competition2011.scenario.GraphNode extends java.lang.Object implements Serializable

serialVersionUID: -6260869513436004934L

Serialized Fields

name

java.lang.String name

x

int x

y

int y

weight

int weight

agents

java.util.Vector<E> agents

dominatorTeam

java.lang.String dominatorTeam

gridX

int gridX

gridY

int gridY

Class massim.competition2011.scenario.RoleConfiguration extends java.lang.Object implements Serializable

serialVersionUID: -3861520735115295259L

Serialized Fields

name

java.lang.String name

maxEnergy

int maxEnergy

maxBuyEnergy

int maxBuyEnergy

rateBuyEnergy

int rateBuyEnergy

maxEnergyDisabled

int maxEnergyDisabled

rateBuyEnergyDisabled

int rateBuyEnergyDisabled

maxHealth

int maxHealth

maxBuyHealth

int maxBuyHealth

rateBuyHealth

int rateBuyHealth

strength

int strength

maxBuyStrength

int maxBuyStrength

rateBuyStrength

int rateBuyStrength

visRange

int visRange

maxBuyVisRange

int maxBuyVisRange

rateBuyVisRange

int rateBuyVisRange

actions

java.util.Vector<E> actions

actionsDisable

java.util.Vector<E> actionsDisable

Class massim.competition2011.scenario.TeamState extends java.lang.Object implements Serializable

serialVersionUID: -1800159344742627560L

Serialized Fields

name

java.lang.String name

teamIdx

int teamIdx

ranking

int ranking

summedScore

long summedScore

currAchievementPoints

long currAchievementPoints

usedAchievementPoints

long usedAchievementPoints

areas

java.util.List<E> areas

successfulAttacks

int successfulAttacks

successfulParrys

int successfulParrys

surveyedEdges

java.util.Set<E> surveyedEdges

probedNodes

java.util.Set<E> probedNodes

inspectedAgents

java.util.Set<E> inspectedAgents

achievements

java.util.Vector<E> achievements

newAchievements

java.util.Vector<E> newAchievements

Package massim.competition2012

Class massim.competition2012.GraphSimulationAgentAction extends AbstractGridSimulationAgentAction implements Serializable

serialVersionUID: -7284135303106342780L

Class massim.competition2012.GraphSimulationAgentFinalPerception extends java.lang.Object implements Serializable

serialVersionUID: -4593915560115551878L

Serialized Fields

score

long score
The final score of the team.


ranking

int ranking
The ranking of the team, according to team scores, 1 being first (winner).

Class massim.competition2012.GraphSimulationAgentInitialPerception extends java.lang.Object implements Serializable

serialVersionUID: 8293224111557780965L

Serialized Fields

self

GraphSimulationAgentState self
The state of the agent to which this perception belongs.


steps

int steps
The number of steps that this simulation will run.


vertices

int vertices
The number of vertices that the map graph has.


edges

int edges
The number of edges that the map graph has.


role

java.lang.String role
The agent's role


teamMembers

java.util.Collection<E> teamMembers
A collection of agent states, holding the states of all the team Members in the same team of the owner of this perception.

Class massim.competition2012.GraphSimulationAgentPerception extends java.lang.Object implements Serializable

serialVersionUID: -5791498406627754380L

Serialized Fields

self

GraphSimulationAgentState self
The state of the agent to which this perception belongs.


team

TeamState team
The state of the team of the agent owner of this perception.


nodes

java.util.Set<E> nodes
The set of nodes that are currently visible to the agent


edges

java.util.Set<E> edges
The set of edges that are currently visible to the agent


agents

java.util.Set<E> agents
The set of agent that are currently visible to the agent


probedNodes

java.util.Set<E> probedNodes
The set of nodes that where probed in the previous step, for which the agent owner of this perception should get extended information.


surveyedEdges

java.util.Set<E> surveyedEdges
The set of edges that where surveyed in the previous step, for which the agent owner of this perception should get extended information.


inspectedAgents

java.util.Set<E> inspectedAgents
The set of agents that where inspected in the previous step, for which the agent owner of this perception should get extended information.


step

int step
The current simulation step

Class massim.competition2012.GraphSimulationAgentState extends java.lang.Object implements Serializable

serialVersionUID: 5737421381825241511L

Serialized Fields

team

java.lang.String team
The name of the agent's team


name

java.lang.String name
The name of the agent


roleName

java.lang.String roleName
The name of the agent's role


maxEnergy

int maxEnergy
The agent's maximum energy (that can be increased via the buy action).


maxEnergyDisabled

int maxEnergyDisabled
The agent's maximum energy if the agent is disabled (when health == 0).


energy

int energy
The agent's current energy.


maxHealth

int maxHealth
The agent's maximum health (that can be increased via the buy action).


health

int health
The agent's current health.


strength

int strength
The agent's strength (that can be increased via the buy action).


visRange

int visRange
The agent's visibility range (that can be increased via the buy action).


node

GraphNode node
The current node of this agent (that is, the agent's position within the map).


action

java.lang.String action
Holds the name of the action that the agents wants to execute in the current step.


param

java.lang.String param
Holds the parameter String for the action that the agents wants to execute in the current step.


lastAction

java.lang.String lastAction
Holds the name of the last executed action, to be used in next perception as well as in monitoring.


lastActionResult

java.lang.String lastActionResult
Holds the result of the last executed action, to be used in next perception as well as in monitoring.


lastActionParam

java.lang.String lastActionParam
Holds the parameter String of the last executed action, to be used in next perception as well as in monitoring.


attacked

boolean attacked
A flag to indicate that the agent was attacked in the current step. The need for this flag is because some actions are specified to fail when the agent is under attack.

Class massim.competition2012.GraphSimulationConfiguration extends DefaultSimpleSimulationConfiguration implements Serializable

serialVersionUID: 5802657031982257279L

Serialized Fields

tournamentName

java.lang.String tournamentName
Tournament's name.


simulationName

java.lang.String simulationName
Simulation's name.


teamNames

java.util.Vector<E> teamNames

maxNumberOfSteps

int maxNumberOfSteps
The max number of steps that this simulation should run if not finalized or interrupted before.


numberOfAgents

int numberOfAgents
The number of agents taking part in the simulation.


numberOfTeams

int numberOfTeams
The number of teams taking part in the simulation.


agentsPerTeam

int agentsPerTeam
The number of agents taking part in each team.


numberOfNodes

int numberOfNodes
The number of nodes for the graph to generate.


gridWidth

int gridWidth
The width of the abstract grid in which the graph nodes will be randomly placed when generating the graph.


gridHeight

int gridHeight
The height of the abstract grid in which the graph nodes will be randomly placed when generating the graph.


cellWidth

int cellWidth
The width of each grid cell in the abstract grid in which the graph nodes will be randomly placed when generating the graph. Used for visualization.


minNodeWeight

int minNodeWeight
Minimum possible value for the random assignment of weights to nodes during map generation.


maxNodeWeight

int maxNodeWeight
Maximum possible value for the random assignment of weights to nodes during map generation.


minEdgeCost

int minEdgeCost
Minimum possible value for the random assignment of costs to edges during map generation.


maxEdgeCost

int maxEdgeCost
Maximum possible value for the random assignment of costs to edges during map generation.


actionsConfMap

java.util.HashMap<K,V> actionsConfMap
A map from action names to their configurations.


rolesConfMap

java.util.HashMap<K,V> rolesConfMap
A map from role names to their configurations.


achievements

java.util.Vector<E> achievements
A vector holding the configurations of every possible achievement.


randomSeed

long randomSeed
The seed that will be used for the random graph generator


mapGenerator

java.lang.String mapGenerator
The type of generator to be used


randomWeight

int randomWeight
The weighting factor of random node weight generation


gradientWeight

int gradientWeight
The weighting factor of gradient node weight generation


optimaWeight

int optimaWeight
The weighting factor of optima node weight generation


blurIterations

int blurIterations
How many iterations of blurring shall happen (only relevant if optimaWeight > 0)


optimaPercentage

int optimaPercentage
The probability with which a node might be a local optimum (only relevant if optimaWeight > 0)

Class massim.competition2012.GraphSimulationWorldState extends SimulationWorldState implements Serializable

serialVersionUID: -6316439899157240323L

Serialized Fields

nodes

java.util.Vector<E> nodes
The nodes conforming the map graph.


edges

java.util.Vector<E> edges
The edges conforming the map graph.


neighborsMap

java.util.Map<K,V> neighborsMap
A map holding the list of nodes directly connected to each node. It is used as a cache to provide fast access to this information that is heavily accessed during the simulation execution.


connectedEdgesMap

java.util.Map<K,V> connectedEdgesMap
A map holding the list of edges connected to each node. It is used as a cache to provide fast access to this information that is heavily accessed during the simulation execution.


agentNamesMap

java.util.Map<K,V> agentNamesMap
A map from an agent's name to its current state. It is used as a cache to provide fast access to this information that is heavily accessed during the simulation execution.


nodeNamesMap

java.util.Map<K,V> nodeNamesMap
A map from a node's name to its current state. It is used as a cache to provide fast access to this information that is heavily accessed during the simulation execution.


agents

java.util.Vector<E> agents
A vector holding all agents that take part in the simulation.


config

GraphSimulationConfiguration config
The configuration of this simulation.


teamsStates

java.util.Vector<E> teamsStates
A vector holding the states of all the teams that take part in the simulation.


sizeX

int sizeX
The width of the abstract grid to which the graph is subscribed.


sizeY

int sizeY
The height of the abstract grid to which the graph is subscribed.


random

java.util.Random random

generator

GraphGenerator generator
The generator used for generating the graph


Package massim.competition2012.monitor

Class massim.competition2012.monitor.GraphFileViewer extends GraphMonitor implements Serializable

serialVersionUID: -573692905809930002L

Serialized Fields

dirName

java.lang.String dirName

fileNumbers

java.util.Vector<E> fileNumbers

fileIdx

int fileIdx

currFile

java.io.File currFile

dir

java.io.File dir

factory

javax.xml.parsers.DocumentBuilderFactory factory

buttonFirst

javax.swing.JButton buttonFirst

buttonPrev

javax.swing.JButton buttonPrev

buttonNext

javax.swing.JButton buttonNext

buttonLast

javax.swing.JButton buttonLast

buttonPlay

javax.swing.JButton buttonPlay

buttonPlayFs

javax.swing.JButton buttonPlayFs

buttonPlaySl

javax.swing.JButton buttonPlaySl

buttonChoose

javax.swing.JButton buttonChoose

fileChooser

javax.swing.JFileChooser fileChooser

playSync

java.lang.Object playSync

playing

boolean playing

playSpeeds

long[] playSpeeds

playSpeedIdx

int playSpeedIdx

restart

boolean restart

Class massim.competition2012.monitor.GraphMonitor extends javax.swing.JFrame implements Serializable

serialVersionUID: 4099856653707665324L

Serialized Fields

saveXMLs

boolean saveXMLs

xmlsFolder

java.lang.String xmlsFolder

simId

java.lang.String simId

fileBaseName

java.lang.String fileBaseName

xmlWriteSync

java.lang.Object xmlWriteSync

xmlDoc1

org.w3c.dom.Document xmlDoc1

xmlDoc2

org.w3c.dom.Document xmlDoc2

prevSimName

java.lang.String prevSimName

prevStep

java.lang.String prevStep

teamDomColors

java.awt.Color[] teamDomColors

agentColors

java.awt.Color[] agentColors

rmihost

java.lang.String rmihost

rmiport

int rmiport

service

java.lang.String service

simulationRunning

boolean simulationRunning

worldView

massim.competition2012.monitor.GraphMonitor.WorldView worldView

scrollPane

javax.swing.JScrollPane scrollPane

infoPanel

massim.competition2012.monitor.GraphMonitor.InfoPanel infoPanel

pauseButton

javax.swing.JButton pauseButton

parsedDoc

boolean parsedDoc

paused

java.lang.Boolean paused

teams

java.util.Vector<E> teams

nodes

java.util.Vector<E> nodes

edges

java.util.Vector<E> edges

teamsInfo

java.util.Vector<E> teamsInfo

simStep

java.lang.String simStep

syncObject

java.lang.Object syncObject

selectedNode

java.lang.String selectedNode

selectedAgent

java.lang.String selectedAgent

Package massim.competition2012.scenario

Class massim.competition2012.scenario.Achievement extends java.lang.Object implements Serializable

serialVersionUID: -2761429573471745751L

Serialized Fields

name

java.lang.String name

achievementClass

java.lang.String achievementClass

points

int points

quantity

int quantity

achieved

boolean achieved

Class massim.competition2012.scenario.ActionConfiguration extends java.lang.Object implements Serializable

serialVersionUID: -7387300848628264823L

Serialized Fields

name

java.lang.String name

energyCost

int energyCost

energyCostFailed

int energyCostFailed

energyCostDisabled

int energyCostDisabled

energyCostFailedDisabled

int energyCostFailedDisabled

healthCost

int healthCost

healthCostFailed

int healthCostFailed

healthCostDisabled

int healthCostDisabled

healthCostFailedDisabled

int healthCostFailedDisabled

pointsCost

int pointsCost

pointsCostFailed

int pointsCostFailed

pointsCostDisabled

int pointsCostDisabled

pointsCostFailedDisabled

int pointsCostFailedDisabled

Class massim.competition2012.scenario.DominatedArea extends java.lang.Object implements Serializable

serialVersionUID: -5265576592655218606L

Serialized Fields

team

java.lang.String team

size

int size

totalScore

int totalScore

agents

java.util.Collection<E> agents

nodes

java.util.Collection<E> nodes

Class massim.competition2012.scenario.GraphEdge extends java.lang.Object implements Serializable

serialVersionUID: -2064294215950641200L

Serialized Fields

node1

GraphNode node1

node2

GraphNode node2

weight

int weight

Class massim.competition2012.scenario.GraphGeneratorTriangBalOpt extends GraphGenerator implements Serializable

Serialized Fields

counterparts

java.util.HashMap<K,V> counterparts

Class massim.competition2012.scenario.GraphGeneratorTriangulation extends GraphGenerator implements Serializable

Class massim.competition2012.scenario.GraphGeneratorTriangulationBalanced extends GraphGenerator implements Serializable

Serialized Fields

counterparts

java.util.HashMap<K,V> counterparts

Class massim.competition2012.scenario.GraphNode extends java.lang.Object implements Serializable

serialVersionUID: -6260869513436004934L

Serialized Fields

name

java.lang.String name

x

int x

y

int y

weight

int weight

agents

java.util.Vector<E> agents

dominatorTeam

java.lang.String dominatorTeam

gridX

int gridX

gridY

int gridY

Class massim.competition2012.scenario.RoleConfiguration extends java.lang.Object implements Serializable

serialVersionUID: -3861520735115295259L

Serialized Fields

name

java.lang.String name

maxEnergy

int maxEnergy

maxBuyEnergy

int maxBuyEnergy

rateBuyEnergy

int rateBuyEnergy

maxEnergyDisabled

int maxEnergyDisabled

rateBuyEnergyDisabled

int rateBuyEnergyDisabled

maxHealth

int maxHealth

maxBuyHealth

int maxBuyHealth

rateBuyHealth

int rateBuyHealth

strength

int strength

maxBuyStrength

int maxBuyStrength

rateBuyStrength

int rateBuyStrength

visRange

int visRange

maxBuyVisRange

int maxBuyVisRange

rateBuyVisRange

int rateBuyVisRange

actions

java.util.Vector<E> actions

actionsDisable

java.util.Vector<E> actionsDisable

Class massim.competition2012.scenario.TeamState extends java.lang.Object implements Serializable

serialVersionUID: -1800159344742627560L

Serialized Fields

name

java.lang.String name

teamIdx

int teamIdx

ranking

int ranking

summedScore

long summedScore

currAchievementPoints

long currAchievementPoints

usedAchievementPoints

long usedAchievementPoints

areas

java.util.List<E> areas

successfulAttacks

int successfulAttacks

successfulParrys

int successfulParrys

surveyedEdges

java.util.Set<E> surveyedEdges

probedNodes

java.util.Set<E> probedNodes

inspectedAgents

java.util.Set<E> inspectedAgents

achievements

java.util.Vector<E> achievements

newAchievements

java.util.Vector<E> newAchievements

Package massim.cowsimulations

Class massim.cowsimulations.GridSimulationAgentInitialPerception extends AbstractGridSimulationAgentInitialPerception implements Serializable

serialVersionUID: -2107830240215498719L

Serialized Fields

corralx0

int corralx0

corraly0

int corraly0

corralx1

int corralx1

corraly1

int corraly1

lineOfSight

int lineOfSight

Class massim.cowsimulations.GridSimulationAgentPerception extends SimulationAgentPerception implements Serializable

serialVersionUID: -5791498406627754380L

Serialized Fields

score

int score

perception

GridSimulationPerceptionCell[][] perception

Class massim.cowsimulations.GridSimulationCell extends AbstractGridSimulationCell implements Serializable

serialVersionUID: -4580023204848715935L

Serialized Fields

cow

boolean cow

fence

boolean fence

open

boolean open

switcher

boolean switcher

canOpen

boolean canOpen

cowturn

int cowturn

agentTeam

java.lang.String agentTeam

stable1

boolean stable1

stable2

boolean stable2

cowID

java.lang.String cowID

Class massim.cowsimulations.GridSimulationPerceptionCell extends SimulationPerceptionCell implements Serializable

serialVersionUID: 2341480499926890895L

Serialized Fields

cow

boolean cow

cowID

java.lang.String cowID

agent

boolean agent

corral

boolean corral

stableType

java.lang.String stableType

switcher

boolean switcher

fence

boolean fence

open

boolean open

Package massim.framework

Class massim.framework.InvalidAction extends java.lang.Object implements Serializable

serialVersionUID: 1850318242566049793L


Package massim.framework.connection

Class massim.framework.connection.AbstractSocketListener.StopListeningException extends java.lang.Exception implements Serializable

serialVersionUID: -4787588718053398042L

Class massim.framework.connection.AgentCodecProtocolErrorException extends java.lang.Exception implements Serializable

serialVersionUID: -2445353636036917643L


Package massim.framework.rmi

Package massim.framework.simulation

Class massim.framework.simulation.SimulationStateImpl extends java.lang.Object implements Serializable

Serialized Fields

simulationState

WorldState simulationState

agentStates

AgentState[] agentStates

steps

int steps

Package massim.framework.util

Class massim.framework.util.InvalidConfigurationException extends java.lang.Exception implements Serializable

serialVersionUID: -1005642894671117236L


Package massim.goldsimulations

Class massim.goldsimulations.GoldGridSimulationAgentPerception extends SimulationAgentPerception implements Serializable

serialVersionUID: -5791498406627754380L

Serialized Fields

cur

GridSimulationPerceptionCell cur

n

GridSimulationPerceptionCell n

nw

GridSimulationPerceptionCell nw

w

GridSimulationPerceptionCell w

sw

GridSimulationPerceptionCell sw

s

GridSimulationPerceptionCell s

se

GridSimulationPerceptionCell se

e

GridSimulationPerceptionCell e

ne

GridSimulationPerceptionCell ne

Class massim.goldsimulations.GridSimulationAgentInitialPerception extends AbstractGridSimulationAgentInitialPerception implements Serializable

serialVersionUID: -2107830240215498719L

Serialized Fields

depotx

int depotx

depoty

int depoty

Class massim.goldsimulations.GridSimulationCell extends AbstractGridSimulationCell implements Serializable

serialVersionUID: -4580023204848715935L

Serialized Fields

mark

boolean mark

gold

boolean gold

depot

boolean depot

markText

java.lang.String markText

Class massim.goldsimulations.GridSimulationPerceptionCell extends SimulationPerceptionCell implements Serializable

serialVersionUID: 2341480499926890895L

Serialized Fields

mark

boolean mark

gold

boolean gold

depot

boolean depot

markText

java.lang.String markText

Package massim.gridsimulations

Class massim.gridsimulations.AbstractGridSimulationAgentAction extends java.lang.Object implements Serializable

serialVersionUID: -7284135303106342780L

Serialized Fields

type

java.lang.String type

param

java.lang.String param

Class massim.gridsimulations.AbstractGridSimulationAgentInitialPerception extends java.lang.Object implements Serializable

serialVersionUID: -2107830240215498719L

Serialized Fields

opponent

java.lang.String opponent

steps

int steps

gsizex

int gsizex

gsizey

int gsizey

Class massim.gridsimulations.AbstractGridSimulationCell extends java.lang.Object implements Serializable

serialVersionUID: -4580023204848715935L

Serialized Fields

obstacle

boolean obstacle

agent

boolean agent

object

java.lang.String object

agentTeam

java.lang.String agentTeam

Class massim.gridsimulations.GridSimulationAgentFinalPerception extends SimulationAgentFinalPerception implements Serializable

serialVersionUID: 1852237655327425041L

Serialized Fields

score

int score

Class massim.gridsimulations.SimulationAgentFinalPerception extends java.lang.Object implements Serializable

serialVersionUID: 1852237655327425041L

Serialized Fields

result

java.lang.String result

Class massim.gridsimulations.SimulationAgentPerception extends java.lang.Object implements Serializable

serialVersionUID: -5791498406627754380L

Serialized Fields

step

int step

posx

int posx

posy

int posy

Class massim.gridsimulations.SimulationAgentState extends java.lang.Object implements Serializable

serialVersionUID: -5803961944118937846L

Serialized Fields

posx

java.lang.Integer posx

oldPosx

java.lang.Integer oldPosx

posy

java.lang.Integer posy

oldPosy

java.lang.Integer oldPosy

score

java.lang.Integer score

actionFailed

boolean actionFailed

team

java.lang.String team

name

java.lang.String name

lastAction

java.lang.String lastAction

currentAction

java.lang.String currentAction

param

java.lang.String param

Class massim.gridsimulations.SimulationPerceptionCell extends java.lang.Object implements Serializable

serialVersionUID: 2341480499926890895L

Serialized Fields

obstacle

boolean obstacle

agent

boolean agent

unknown

boolean unknown

agentType

java.lang.String agentType

Class massim.gridsimulations.SimulationWorldState extends java.lang.Object implements Serializable

serialVersionUID: 7294929408559440428L

Serialized Fields

sizex

java.lang.Integer sizex

sizey

java.lang.Integer sizey

informationDistortionProbability

java.lang.Integer informationDistortionProbability

actionSuccessProbability

java.lang.Integer actionSuccessProbability

numberOfAgents

java.lang.Integer numberOfAgents

numberOfSteps

java.lang.Integer numberOfSteps

maxNumberOfSteps

java.lang.Integer maxNumberOfSteps

currentStep

java.lang.Integer currentStep

teamScore

java.lang.Integer[] teamScore

numberOfObstacles

java.lang.Integer numberOfObstacles

teamName

java.lang.String[] teamName

simulationName

java.lang.String simulationName

tournamentName

java.lang.String tournamentName

outputFolder

java.lang.String outputFolder

Package massim.monitor

Class massim.monitor.AbstractSimulationOutput extends javax.swing.JFrame implements Serializable

Serialized Fields

images

java.awt.Image[] images

configPath

java.lang.String configPath

sizeX

int sizeX

sizeY

int sizeY

Class massim.monitor.AgentController extends CowMonitor implements Serializable

Serialized Fields

numberControlledAgent

int numberControlledAgent

agent_manager

java.util.Vector<E> agent_manager

controlledAgent

int controlledAgent

enterAction

boolean enterAction

agent

DemoControlledAgent agent

command

java.lang.String command

index

int index

username

java.lang.String username

account

java.lang.String[][] account

conf

boolean conf

blink

java.lang.Thread blink

Class massim.monitor.AgentImageEvent extends javax.swing.JPanel implements Serializable

Serialized Fields

x

int x

y

int y

Class massim.monitor.CowMonitor extends AbstractSimulationOutput implements Serializable

Serialized Fields

numberOfAgents

int numberOfAgents

bufImg

java.awt.Image bufImg

bufGph

java.awt.Graphics bufGph

simulationRunning

boolean simulationRunning

teamName1

java.lang.String teamName1

simulationField

int[][] simulationField

agent_map

java.util.HashMap<K,V> agent_map

team_name

java.util.HashMap<K,V> team_name

l

int l

monitorStarted

boolean monitorStarted

rmihost

java.lang.String rmihost

rmiport

int rmiport

service

java.lang.String service

configured

boolean configured

team1

java.lang.String team1

Package massim.server

Class massim.server.RMIServerStatus extends java.rmi.server.UnicastRemoteObject implements Serializable

Serialized Fields

serversimulationagents

ServerSimulationAgents serversimulationagents

Package massim.test

Class massim.test.InvalidConfigurationException extends java.lang.Exception implements Serializable

serialVersionUID: -1005642894671117236L



Copyright © 2012. All Rights Reserved.