DataTable

data class DataTable(val headers: List<String>, val rows: List<List<String>>, val caption: String? = null) : ReportNode(source)

A general-purpose tabular node for pre-formatted string data.

Used for histogram bin tables, frequency tables, batch configuration summaries, solver metrics, pairwise CI tables, time-series period tables, and similar domain-specific tabular data that does not fit StatTable or WeightedStatTable.

Parameters

headers

column header labels

rows

table body rows; each inner list must have the same length as headers

caption

optional table caption

Constructors

Link copied to clipboard
constructor(headers: List<String>, rows: List<List<String>>, caption: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun accept(visitor: ReportVisitor)

Double-dispatch entry point — each node calls the appropriate visitor method.