Player12
An open source football management simulator
Loading...
Searching...
No Matches
Lab::LabReport Struct Reference

#include <lab_report.h>

Public Member Functions

Summary summary () const
 
int exitCode () const
 
bool operator== (const LabReport &) const =default
 

Public Attributes

std::string mode
 
std::uint64_t seed = 0
 
std::size_t samples = 0
 
unsigned threads = 1
 
double wall_seconds = 0.0
 
double ms_per_match = 0.0
 
double seconds_per_season = 0.0
 
std::map< std::string, std::string > parameters
 
std::vector< ReportRow > rows
 
std::vector< TextTable > tables
 
std::vector< std::string > notes
 

Static Public Attributes

static constexpr int SCHEMA_VERSION = 1
 

Member Function Documentation

◆ exitCode()

int Lab::LabReport::exitCode ( ) const

◆ operator==()

bool Lab::LabReport::operator== ( const LabReport &  ) const
default

◆ summary()

Summary Lab::LabReport::summary ( ) const

Member Data Documentation

◆ mode

std::string Lab::LabReport::mode

◆ ms_per_match

double Lab::LabReport::ms_per_match = 0.0

◆ notes

std::vector<std::string> Lab::LabReport::notes

Findings outside the target table (definitions, caveats).

◆ parameters

std::map<std::string, std::string> Lab::LabReport::parameters

Mode parameters (ratings, leagues, pairing...) for reproduction.

◆ rows

std::vector<ReportRow> Lab::LabReport::rows

◆ samples

std::size_t Lab::LabReport::samples = 0

Sampling units: matches, or seasons for season runs.

◆ SCHEMA_VERSION

constexpr int Lab::LabReport::SCHEMA_VERSION = 1
staticconstexpr

◆ seconds_per_season

double Lab::LabReport::seconds_per_season = 0.0

◆ seed

std::uint64_t Lab::LabReport::seed = 0

◆ tables

std::vector<TextTable> Lab::LabReport::tables

◆ threads

unsigned Lab::LabReport::threads = 1

◆ wall_seconds

double Lab::LabReport::wall_seconds = 0.0

The documentation for this struct was generated from the following files: