パッケージ visualization

クラス HtmlReportGenerator

java.lang.Object
visualization.HtmlReportGenerator

public class HtmlReportGenerator extends Object
Generates an interactive HTML simulation report containing DPS metrics, damage charts (pie and line), character stat snapshots over time, artifact substat allocations, and a detailed combat timeline.

The generated report uses Chart.js for data visualization and supports a time-slider to view character stats and active buffs at any point during the simulation.

  • コンストラクタの詳細

    • HtmlReportGenerator

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

    • generate

      public static void generate(String filePath, List<SimulationRecord> records, CombatSimulator sim)
      Generates the HTML report without stat history tracking. This is a convenience method that delegates to generate(String, List, CombatSimulator, List) with a null history.
      パラメータ:
      filePath - destination file path for the generated HTML
      records - list of simulation events/records to visualize
      sim - the combat simulator that produced the records
    • generate

      public static void generate(String filePath, List<SimulationRecord> records, CombatSimulator sim, List<StatsSnapshot> statsHistory)
      Generates the complete HTML report, including the interactive stat tracker if history snapshots are provided.
      パラメータ:
      filePath - destination file path for the generated HTML
      records - list of simulation events/records to visualize in the timeline
      sim - the combat simulator that produced the records
      statsHistory - optional list of stat snapshots for the timeline slider; if null, the interactive stat tracker is omitted