パッケージ mechanics.analysis
クラス EnergyAnalyzer
java.lang.Object
mechanics.analysis.EnergyAnalyzer
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).
-
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明Analyzes energy generation after a simulation run and returns required ER map.
-
コンストラクタの詳細
-
EnergyAnalyzer
public EnergyAnalyzer()
-
-
メソッドの詳細
-
calculateERRequirements
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 of1.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.30for 130%)
-