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

#include <lab_report.h>

Public Attributes

std::string_view id
 
std::string_view metric
 
std::string_view label
 
std::string_view target
 
std::optional< Band > band
 
Tier tier = Tier::Monitor
 
std::string_view source
 
Unit unit = Unit::Number
 
Scope scope = Scope::Match
 
std::string_view note
 

Detailed Description

One calibration target. metric names the extractor output (see lab_runner.h); an empty metric marks a target without an extractor yet, explained by note. Bands are in the metric's own unit (fractions for percentages).

Member Data Documentation

◆ band

std::optional<Band> Lab::TargetSpec::band

◆ id

std::string_view Lab::TargetSpec::id

◆ label

std::string_view Lab::TargetSpec::label

◆ metric

std::string_view Lab::TargetSpec::metric

◆ note

std::string_view Lab::TargetSpec::note

◆ scope

Scope Lab::TargetSpec::scope = Scope::Match

◆ source

std::string_view Lab::TargetSpec::source

◆ target

std::string_view Lab::TargetSpec::target

◆ tier

Tier Lab::TargetSpec::tier = Tier::Monitor

◆ unit

Unit Lab::TargetSpec::unit = Unit::Number

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