Class MilvangAI
java.lang.Object
net.sf.colossus.ai.AbstractAI
net.sf.colossus.ai.SimpleAI
net.sf.colossus.ai.RationalAI
net.sf.colossus.ai.MilvangAI
- All Implemented Interfaces:
AI
- Author:
- kmilvangjens
-
Nested Class Summary
Nested classes/interfaces inherited from class RationalAI
RationalAI.BattleResults, RationalAI.CompCreaturesByValueName, RationalAI.MusteredCreaturesNested classes/interfaces inherited from class SimpleAI
SimpleAI.PowerSkill, SimpleAI.TriggerTimeIsUpNested classes/interfaces inherited from class AbstractAI
AbstractAI.AbstractAIOracle, AbstractAI.CreatureValueConstants, AbstractAI.MoveInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Loggerprivate static final doubleprivate static final doubleFields inherited from class RationalAI
I_HATE_HUMANS, KILLPOINTS, RECRUIT_AT_7, RECRUIT_FALSE, RECRUIT_TRUE, TITAN_SURVIVALFields inherited from class SimpleAI
MIN_ITERATIONS, timeIsUp, timeLimitFields inherited from class AbstractAI
bec, client, cvc, hintSectionUsed, random, variant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) RationalAI.MusteredCreatureschooseCreaturesToSplitOut(Legion legion, boolean at_risk) Decide how to split this legion, and return a list of Creatures to remove + status flag indicating if these creatures have mustered or not(package private) doublefindRecruitPotential(Map<CreatureType, Integer> critters, MasterBoardTerrain terrain) Methods inherited from class RationalAI
concede, estimateBattleResults, flee, getCombatList, masterMove, split, splitCallback, splitOneLegionMethods inherited from class SimpleAI
acquireAngel, battleMove, chooseRecruit, doInitialGameSplit, evaluateCritterMove_Defender, evaluateCritterMove_Rangestrike, evaluateCritterMove_Strike, evaluateCritterMove_Titan, evaluateLegionBattleMove, evaluateLegionBattleMoveAsAWhole, findBestLegionMove, findLegionMoves, findWeakestTwoCritters, getCreatureMoveLimit, getNativeValue, handleCarries, handleMulligans, muster, pickColor, pickEngagement, pickEntrySide, pickMarker, pickStrikePenalty, RATIO_DRAW, RATIO_LOSE_HEAVY_LOSS, RATIO_WIN_HEAVY_LOSS, RATIO_WIN_MINIMAL_LOSS, reinforce, retryFailedBattleMoves, setupTimer, strike, summonAngelMethods inherited from class AbstractAI
buildEnemyAttackMap, cleanupBattle, couldRecruitUp, countCreatureAccrossAllLegionFromPlayer, findStrikeMap, generateDamageMap, generateLegionMoves, getAcqStepValue, getBattleStrike, getBattleUnit, getCaretaker, getHintedRecruitmentValue, getHintedRecruitmentValueNonTitan, getHintedRecruitmentValueNonTitan, getInitialSplitHint, getKillValue, getKillValue, getNumberOfWaysToTerrain, getVariantRecruitHint, hasOpponentNativeCreature, initBattle, isHumanLegion, makeLegionMove, rangeToClosestOpponent, setVariant
-
Field Details
-
LOGGER
-
PRIMARY_RECRUIT_FACTOR
private static final double PRIMARY_RECRUIT_FACTOR- See Also:
-
SECONDARY_RECRUIT_FACTOR
private static final double SECONDARY_RECRUIT_FACTOR- See Also:
-
-
Constructor Details
-
MilvangAI
-
-
Method Details
-
findRecruitPotential
-
chooseCreaturesToSplitOut
Description copied from class:RationalAIDecide how to split this legion, and return a list of Creatures to remove + status flag indicating if these creatures have mustered or not- Overrides:
chooseCreaturesToSplitOutin classRationalAI
-