simulationStats: Battle statistics for simulation

Description Details

Description

list with the following members:

attackerStart

units for attacker at start of battle, formatted as oolAttacker

defenderStart

units for defender at start of battle, formatted as oolDefender

avereages

stats averaged over replicates

replicates

vectors with stats for all replicates of simulation

Details

Both 'averages' and the 'replicates' contain the stats:

attackerWon

proportion of battles won by attacker (all defending units lost), averaged over replicates

defendeWon

proportion of battles won by defender (not all defending units lost), averaged over replicates

draw

proportion of battles drawed (all units lost), averaged over replicates

meanRounds

mean number of rounds before battle was concluded

meanAttackerCost

mean cost of battle for attacker, averaged over iterations and replicates

meanDefenderCost

mean cost of battle for defender, averaged over iterations and replicates


edvinf/aaSimulator documentation built on June 1, 2020, 12:10 p.m.