mas.agentsHempelsSofa.data
Class Strategy

java.lang.Object
  extended by mas.agentsHempelsSofa.data.Strategy

public class Strategy
extends java.lang.Object


Field Summary
 double achievementsAreaValueGoal
          The goal area value.
 double achievementsAreaValuePref
          the preference of an area-value focus, if an achievement-supporting strategy was chosen.
 double achievementsInspectedAgentsGoal
          The goal number of inspected agents.
 double achievementsInspectedAgentsPref
          the preference of an inspected-agents focus, if an achievement-supporting strategy was chosen.
 double achievementsPref
          the preference for achievement-supporting strategies.
 double achievementsProbedVerticesGoal
          The goal number of probed vertices.
 double achievementsProbedVerticesPref
          the preference of a probed-vertices focus, if an achievement-supporting strategy was chosen.
 double achievementsSuccessfulAttacksGoal
          The goal number of successful attacks.
 double achievementsSuccessfulAttacksPref
          the preference of a successful-attacks focus, if an achievement-supporting strategy was chosen.
 double achievementsSuccessfulParriesGoal
          The goal number of successful parries.
 double achievementsSuccessfulParriesPref
          the preference of a successful-parries focus, if an achievement-supporting strategy was chosen.
 double achievementsSurveyedEdgesGoal
          The goal number of surveyed edges.
 double achievementsSurveyedEdgesPref
          the preference of a surveyed-edges focus, if an achievement-supporting strategy was chosen.
static java.lang.String[] allFocuses
          all available focuses which should be supported by the specific agents.
 double buyBatteryPref
          the preference of a battery focus, if a buy strategy was chosen.
 double buyPref
          the preference for buy strategies.
 double buySabotageDevicePref
          the preference of a sabotage device focus, if a buy strategy was chosen.
 double buySensorPref
          the preference of a sensor focus, if a buy strategy was chosen.
 double buyShieldPref
          the preference of a shield focus, if a buy strategy was chosen.
 double defensiveParryPref
          the preference of a parry focus, if an defensive strategy was chosen.
 double defensivePref
          the preference for defensive strategies.
 double defensiveRepairPref
          the preference of an defensive repair focus, if an defensive action was generated.
 double defensiveRunAwayPref
          the preference of an run away focus, if an defensive action was generated.
 double maxEnergyLimit
          the limit for max energy
 double maxHealthLimit
          the limit for max health
 double offensiveDestroyAgentsPref
          the preference of an agent-destroying focus, if an offensive action was generated.
 double offensiveDestroyZonesPref
          the preference of a zone-destroying focus, if an offensive strategy was chosen.
 double offensiveDrawbackPref
          the preference of a drawback focus, if an offensive action was generated.
 double offensivePref
          the preference for offensive strategies.
 double strengthLimit
          the limit for strength
 double visRangeLimit
          the limit for visiblity range
 double zoneDrawbackPref
          the preference of a drawback focus, if an zone strategy was chosen.
 double zoneExpandPref
          the preference of a zone-expanding focus, if an zone strategy was chosen.
 double zoneMainZonePref
          the preference of a main-zone focus, if an zone strategy was chosen.
 double zonePref
          the preference for zone strategies.
 double zoneStabilityPref
          the preference of a zone-stability focus, if an zone strategy was chosen.
 
Constructor Summary
Strategy()
           
 
Method Summary
 int chooseFocus()
          randomly chooses an index for the focuses in this strategy.
 Strategy clone()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allFocuses

public static final java.lang.String[] allFocuses
all available focuses which should be supported by the specific agents.


offensivePref

public double offensivePref
the preference for offensive strategies.


offensiveDestroyZonesPref

public double offensiveDestroyZonesPref
the preference of a zone-destroying focus, if an offensive strategy was chosen.


offensiveDestroyAgentsPref

public double offensiveDestroyAgentsPref
the preference of an agent-destroying focus, if an offensive action was generated.


offensiveDrawbackPref

public double offensiveDrawbackPref
the preference of a drawback focus, if an offensive action was generated.


defensivePref

public double defensivePref
the preference for defensive strategies.


defensiveParryPref

public double defensiveParryPref
the preference of a parry focus, if an defensive strategy was chosen.


defensiveRunAwayPref

public double defensiveRunAwayPref
the preference of an run away focus, if an defensive action was generated.


defensiveRepairPref

public double defensiveRepairPref
the preference of an defensive repair focus, if an defensive action was generated.


zonePref

public double zonePref
the preference for zone strategies.


zoneExpandPref

public double zoneExpandPref
the preference of a zone-expanding focus, if an zone strategy was chosen.


zoneDrawbackPref

public double zoneDrawbackPref
the preference of a drawback focus, if an zone strategy was chosen. This could be increased, if the zone should be expanded but if an agent is nearing, the agent draws back to defend the zone.


zoneStabilityPref

public double zoneStabilityPref
the preference of a zone-stability focus, if an zone strategy was chosen.


zoneMainZonePref

public double zoneMainZonePref
the preference of a main-zone focus, if an zone strategy was chosen.


buyPref

public double buyPref
the preference for buy strategies.


buyBatteryPref

public double buyBatteryPref
the preference of a battery focus, if a buy strategy was chosen.


buySabotageDevicePref

public double buySabotageDevicePref
the preference of a sabotage device focus, if a buy strategy was chosen.


buySensorPref

public double buySensorPref
the preference of a sensor focus, if a buy strategy was chosen.


buyShieldPref

public double buyShieldPref
the preference of a shield focus, if a buy strategy was chosen.


achievementsPref

public double achievementsPref
the preference for achievement-supporting strategies.


achievementsProbedVerticesPref

public double achievementsProbedVerticesPref
the preference of a probed-vertices focus, if an achievement-supporting strategy was chosen.


achievementsSurveyedEdgesPref

public double achievementsSurveyedEdgesPref
the preference of a surveyed-edges focus, if an achievement-supporting strategy was chosen.


achievementsInspectedAgentsPref

public double achievementsInspectedAgentsPref
the preference of an inspected-agents focus, if an achievement-supporting strategy was chosen.


achievementsSuccessfulAttacksPref

public double achievementsSuccessfulAttacksPref
the preference of a successful-attacks focus, if an achievement-supporting strategy was chosen.


achievementsSuccessfulParriesPref

public double achievementsSuccessfulParriesPref
the preference of a successful-parries focus, if an achievement-supporting strategy was chosen.


achievementsAreaValuePref

public double achievementsAreaValuePref
the preference of an area-value focus, if an achievement-supporting strategy was chosen.


achievementsProbedVerticesGoal

public double achievementsProbedVerticesGoal
The goal number of probed vertices.


achievementsSurveyedEdgesGoal

public double achievementsSurveyedEdgesGoal
The goal number of surveyed edges.


achievementsInspectedAgentsGoal

public double achievementsInspectedAgentsGoal
The goal number of inspected agents.


achievementsSuccessfulAttacksGoal

public double achievementsSuccessfulAttacksGoal
The goal number of successful attacks.


achievementsSuccessfulParriesGoal

public double achievementsSuccessfulParriesGoal
The goal number of successful parries.


achievementsAreaValueGoal

public double achievementsAreaValueGoal
The goal area value.


maxEnergyLimit

public double maxEnergyLimit
the limit for max energy


maxHealthLimit

public double maxHealthLimit
the limit for max health


visRangeLimit

public double visRangeLimit
the limit for visiblity range


strengthLimit

public double strengthLimit
the limit for strength

Constructor Detail

Strategy

public Strategy()
Method Detail

clone

public Strategy clone()
Overrides:
clone in class java.lang.Object

chooseFocus

public int chooseFocus()
randomly chooses an index for the focuses in this strategy.

Returns:
an index for the focuses in this strategy.


Copyright © 2012. All Rights Reserved.