net.sf.colossus.ai
Class CowardSimpleAI

java.lang.Object
  extended by net.sf.colossus.ai.AbstractAI
      extended by net.sf.colossus.ai.SimpleAI
          extended by net.sf.colossus.ai.CowardSimpleAI
All Implemented Interfaces:
AI

public class CowardSimpleAI
extends SimpleAI

Simple implementation of a Titan AI - a bit more coward the regular SimpleAI

Author:
Romain Dolbeau

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.colossus.ai.SimpleAI
SimpleAI.PowerSkill, SimpleAI.TriggerTimeIsUp
 
Nested classes/interfaces inherited from class net.sf.colossus.ai.AbstractAI
AbstractAI.AbstractAIOracle, AbstractAI.CreatureValueConstants, AbstractAI.MoveInfo
 
Field Summary
 
Fields inherited from class net.sf.colossus.ai.SimpleAI
MIN_ITERATIONS, timeIsUp, timeLimit
 
Fields inherited from class net.sf.colossus.ai.AbstractAI
bec, client, cvc, hintSectionUsed, random, variant
 
Constructor Summary
CowardSimpleAI(Client client)
           
 
Method Summary
(package private)  double RATIO_DRAW()
           
(package private)  double RATIO_LOSE_HEAVY_LOSS()
           
(package private)  double RATIO_WIN_HEAVY_LOSS()
           
(package private)  double RATIO_WIN_MINIMAL_LOSS()
           
 
Methods inherited from class net.sf.colossus.ai.SimpleAI
acquireAngel, battleMove, chooseRecruit, concede, doInitialGameSplit, evaluateCritterMove_Defender, evaluateCritterMove_Rangestrike, evaluateCritterMove_Strike, evaluateCritterMove_Titan, evaluateLegionBattleMove, evaluateLegionBattleMoveAsAWhole, findBestLegionMove, findLegionMoves, findWeakestTwoCritters, flee, getCreatureMoveLimit, getNativeValue, handleCarries, handleMulligans, masterMove, muster, pickColor, pickEngagement, pickEntrySide, pickMarker, pickStrikePenalty, reinforce, retryFailedBattleMoves, setupTimer, split, splitCallback, strike, summonAngel
 
Methods inherited from class net.sf.colossus.ai.AbstractAI
buildEnemyAttackMap, cleanupBattle, couldRecruitUp, countCreatureAccrossAllLegionFromPlayer, findStrikeMap, generateDamageMap, generateLegionMoves, getAcqStepValue, getBattleUnit, getHintedRecruitmentValue, getHintedRecruitmentValueNonTitan, getHintedRecruitmentValueNonTitan, getInitialSplitHint, getKillValue, getKillValue, getNumberOfWaysToTerrain, getVariantRecruitHint, hasOpponentNativeCreature, initBattle, isHumanLegion, makeLegionMove, rangeToClosestOpponent, setVariant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CowardSimpleAI

public CowardSimpleAI(Client client)
Method Detail

RATIO_WIN_MINIMAL_LOSS

double RATIO_WIN_MINIMAL_LOSS()
Overrides:
RATIO_WIN_MINIMAL_LOSS in class SimpleAI

RATIO_WIN_HEAVY_LOSS

double RATIO_WIN_HEAVY_LOSS()
Overrides:
RATIO_WIN_HEAVY_LOSS in class SimpleAI

RATIO_DRAW

double RATIO_DRAW()
Overrides:
RATIO_DRAW in class SimpleAI

RATIO_LOSE_HEAVY_LOSS

double RATIO_LOSE_HEAVY_LOSS()
Overrides:
RATIO_LOSE_HEAVY_LOSS in class SimpleAI