games.strategy.triplea.oddsCalculator.ta
Class AggregateResults

java.lang.Object
  extended by games.strategy.triplea.oddsCalculator.ta.AggregateResults
All Implemented Interfaces:
java.io.Serializable

public class AggregateResults
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 java.util.List<BattleResults> m_results
           
 
Constructor Summary
AggregateResults(int expectedCount)
           
 
Method Summary
 void addResult(BattleResults result)
           
 double getAttackerWinPercent()
           
 double getAverageAttackingUnits()
           
 double getAverageDefendingUnitsLeft()
           
 double getDefenderWinPercent()
           
 double getDrawPercent()
           
 int getRollCount()
           
 long getTime()
           
 void setTime(long time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_results

public java.util.List<BattleResults> m_results
Constructor Detail

AggregateResults

public AggregateResults(int expectedCount)
Method Detail

addResult

public void addResult(BattleResults result)

getAttackerWinPercent

public double getAttackerWinPercent()

getAverageAttackingUnits

public double getAverageAttackingUnits()

getAverageDefendingUnitsLeft

public double getAverageDefendingUnitsLeft()

getDefenderWinPercent

public double getDefenderWinPercent()

getDrawPercent

public double getDrawPercent()

getRollCount

public int getRollCount()

getTime

public long getTime()

setTime

public void setTime(long time)