Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchTuning::Discipline Struct Referencefinal

#include <match_tuning.h>

Static Public Attributes

static constexpr float STRICTNESS_SD = 0.13f
 
static constexpr float MIN_STRICTNESS = 0.65f
 
static constexpr float MAX_STRICTNESS = 1.4f
 
static constexpr float MIN_CONTEXT_STRICTNESS = 0.3f
 
static constexpr float MAX_CONTEXT_STRICTNESS = 2.8f
 
static constexpr float RECKLESS_SHARE = 0.17f
 
static constexpr float CARELESS_YELLOW_CHANCE = 0.024f
 
static constexpr float RECKLESS_YELLOW_CHANCE = 0.235f
 
static constexpr float TACTICAL_YELLOW_CHANCE = 0.24f
 
static constexpr float SERIOUS_FOUL_PLAY_SHARE = 0.0015f
 
static constexpr float DOGSO_RED_CHANCE = 0.38f
 
static constexpr float PENALTY_AREA_DOGSO_RED_CHANCE = 0.18f
 
static constexpr float AWAY_CARD_BIAS = 1.07f
 
static constexpr float HOME_CARD_BIAS = 0.94f
 
static constexpr float BOOKED_PLAYER_CAUTION = 0.25f
 
static constexpr float ADVANTAGE_WINDOW_SECONDS = 3.0f
 
static constexpr float ADVANTAGE_MIN_OPENNESS = 0.45f
 
static constexpr float ADVANTAGE_PLAY_CHANCE = 0.45f
 
static constexpr float DOGSO_MAX_DISTANCE_METRES = 28.0f
 
static constexpr float DOGSO_MAX_WIDTH_DEVIATION = 0.22f
 

Member Data Documentation

◆ ADVANTAGE_MIN_OPENNESS

constexpr float MatchTuning::Discipline::ADVANTAGE_MIN_OPENNESS = 0.45f
staticconstexpr

◆ ADVANTAGE_PLAY_CHANCE

constexpr float MatchTuning::Discipline::ADVANTAGE_PLAY_CHANCE = 0.45f
staticconstexpr

◆ ADVANTAGE_WINDOW_SECONDS

constexpr float MatchTuning::Discipline::ADVANTAGE_WINDOW_SECONDS = 3.0f
staticconstexpr

◆ AWAY_CARD_BIAS

constexpr float MatchTuning::Discipline::AWAY_CARD_BIAS = 1.07f
staticconstexpr

◆ BOOKED_PLAYER_CAUTION

constexpr float MatchTuning::Discipline::BOOKED_PLAYER_CAUTION = 0.25f
staticconstexpr

◆ CARELESS_YELLOW_CHANCE

constexpr float MatchTuning::Discipline::CARELESS_YELLOW_CHANCE = 0.024f
staticconstexpr

◆ DOGSO_MAX_DISTANCE_METRES

constexpr float MatchTuning::Discipline::DOGSO_MAX_DISTANCE_METRES = 28.0f
staticconstexpr

◆ DOGSO_MAX_WIDTH_DEVIATION

constexpr float MatchTuning::Discipline::DOGSO_MAX_WIDTH_DEVIATION = 0.22f
staticconstexpr

◆ DOGSO_RED_CHANCE

constexpr float MatchTuning::Discipline::DOGSO_RED_CHANCE = 0.38f
staticconstexpr

◆ HOME_CARD_BIAS

constexpr float MatchTuning::Discipline::HOME_CARD_BIAS = 0.94f
staticconstexpr

◆ MAX_CONTEXT_STRICTNESS

constexpr float MatchTuning::Discipline::MAX_CONTEXT_STRICTNESS = 2.8f
staticconstexpr

◆ MAX_STRICTNESS

constexpr float MatchTuning::Discipline::MAX_STRICTNESS = 1.4f
staticconstexpr

◆ MIN_CONTEXT_STRICTNESS

constexpr float MatchTuning::Discipline::MIN_CONTEXT_STRICTNESS = 0.3f
staticconstexpr

Bounds of a referee drawn around a league's own mean strictness.

◆ MIN_STRICTNESS

constexpr float MatchTuning::Discipline::MIN_STRICTNESS = 0.65f
staticconstexpr

◆ PENALTY_AREA_DOGSO_RED_CHANCE

constexpr float MatchTuning::Discipline::PENALTY_AREA_DOGSO_RED_CHANCE = 0.18f
staticconstexpr

◆ RECKLESS_SHARE

constexpr float MatchTuning::Discipline::RECKLESS_SHARE = 0.17f
staticconstexpr

◆ RECKLESS_YELLOW_CHANCE

constexpr float MatchTuning::Discipline::RECKLESS_YELLOW_CHANCE = 0.235f
staticconstexpr

◆ SERIOUS_FOUL_PLAY_SHARE

constexpr float MatchTuning::Discipline::SERIOUS_FOUL_PLAY_SHARE = 0.0015f
staticconstexpr

◆ STRICTNESS_SD

constexpr float MatchTuning::Discipline::STRICTNESS_SD = 0.13f
staticconstexpr

◆ TACTICAL_YELLOW_CHANCE

constexpr float MatchTuning::Discipline::TACTICAL_YELLOW_CHANCE = 0.24f
staticconstexpr

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