パッケージ mechanics.analysis

クラス EnergyAnalyzer

java.lang.Object
mechanics.analysis.EnergyAnalyzer

public class EnergyAnalyzer extends Object
Post-simulation utility that calculates the minimum Energy Recharge (ER) required for each party member to cast their burst every rotation.

The analysis uses a "start full, end full" model: the first burst is considered pre-loaded, so the total particle energy collected must cover all N burst costs (the initial pre-load cancels out with the end-of-rotation refill, leaving N * cost as the net requirement).

  • コンストラクタの詳細

    • EnergyAnalyzer

      public EnergyAnalyzer()
  • メソッドの詳細

    • calculateERRequirements

      public static Map<String,Double> calculateERRequirements(CombatSimulator sim)
      Analyzes energy generation after a simulation run and returns required ER map.

      For each character the formula applied is:

         requiredER = max(1.0, (totalBurstCost - totalFlatEnergy) / totalParticleEnergy)
       
      Characters who never cast their burst in the recorded rotation receive a required ER of 1.0 (base).
      パラメータ:
      sim - the completed combat simulator whose characters hold energy tracking data
      戻り値:
      map from character name to the minimum ER multiplier (e.g. 1.30 for 130%)