BattleAlgorithm: Make some args const. Update comments.