@djensen Aside from the pure speed. My calculator has some neat advanced features like:
Compute the probability of winning for all sub-battles in one pass. This allows a second pass to implement things like retreat if the probability of winning the battle is too low.
Compute the Expected profit for all sub-battles in one pass. This allows a second pass to implement retreat if the EV profit is too low (typically retreat if EV is negative).
Strafe analysis is_deadzone, combined with the territory value can be used to model a variety of strafe scenarios.
e.g. If strafing from a capital with a large army next door… a large negative value is warranted. (russia IPC’s * 2 + russia territory IPC value. + value of other allied units lost if the strafe turns into take. Using large values like -50 IPC’s is fair.
If strafing from W.Russia… and W Russia is safe even if the strafe fails and the territory is captured, a normal positive territory value is good enough.
Army recommendation - which can compute optimal strafes. If you set is_deadzone – and an appropriate territory value (positive or negative based on the situation), the army recommendation can recommend the sub-army that gives maximum expected profit.#1 and #2 are simple recurrence relations that I can share









