|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmas.agentsHempelsSofa.data.Strategy
public class Strategy
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 |
---|
public static final java.lang.String[] allFocuses
public double offensivePref
public double offensiveDestroyZonesPref
public double offensiveDestroyAgentsPref
public double offensiveDrawbackPref
public double defensivePref
public double defensiveParryPref
public double defensiveRunAwayPref
public double defensiveRepairPref
public double zonePref
public double zoneExpandPref
public double zoneDrawbackPref
public double zoneStabilityPref
public double zoneMainZonePref
public double buyPref
public double buyBatteryPref
public double buySabotageDevicePref
public double buySensorPref
public double buyShieldPref
public double achievementsPref
public double achievementsProbedVerticesPref
public double achievementsSurveyedEdgesPref
public double achievementsInspectedAgentsPref
public double achievementsSuccessfulAttacksPref
public double achievementsSuccessfulParriesPref
public double achievementsAreaValuePref
public double achievementsProbedVerticesGoal
public double achievementsSurveyedEdgesGoal
public double achievementsInspectedAgentsGoal
public double achievementsSuccessfulAttacksGoal
public double achievementsSuccessfulParriesGoal
public double achievementsAreaValueGoal
public double maxEnergyLimit
public double maxHealthLimit
public double visRangeLimit
public double strengthLimit
Constructor Detail |
---|
public Strategy()
Method Detail |
---|
public Strategy clone()
clone
in class java.lang.Object
public int chooseFocus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |