Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchAnalysisRules Namespace Reference

Variables

constexpr int MIN_SHOTS = 8
 
constexpr int CONFIDENT_SHOTS = 16
 
constexpr float FLANK_SHARE = 0.55f
 
constexpr float FLANK_MIN_XG = 0.35f
 
constexpr int FLANK_MIN_SHOTS = 5
 
constexpr int PRESS_MIN_PASSES = 60
 
constexpr int PRESS_MIN_ACTIONS = 5
 
constexpr int CREATE_MIN_PASSES = 100
 
constexpr int TIGHTEN_MIN_SHOTS = 6
 
constexpr float STANDOUT_RATING = 7.5f
 
constexpr float STRUGGLING_RATING = 5.6f
 
constexpr float RATING_MIN_MINUTES = 20.0f
 
constexpr float TIRED_CONDITION = 0.55f
 
constexpr int MIN_AERIALS = 6
 
constexpr float AERIAL_LOSS_SHARE = 0.65f
 
constexpr float LOOSE_PRESS = 14.0f
 
constexpr int MAX_SUGGESTIONS = 3
 

Variable Documentation

◆ AERIAL_LOSS_SHARE

constexpr float MatchAnalysisRules::AERIAL_LOSS_SHARE = 0.65f
inlineconstexpr

◆ CONFIDENT_SHOTS

constexpr int MatchAnalysisRules::CONFIDENT_SHOTS = 16
inlineconstexpr

Below this many shots patterns are only "early signs".

◆ CREATE_MIN_PASSES

constexpr int MatchAnalysisRules::CREATE_MIN_PASSES = 100
inlineconstexpr

◆ FLANK_MIN_SHOTS

constexpr int MatchAnalysisRules::FLANK_MIN_SHOTS = 5
inlineconstexpr

◆ FLANK_MIN_XG

constexpr float MatchAnalysisRules::FLANK_MIN_XG = 0.35f
inlineconstexpr

◆ FLANK_SHARE

constexpr float MatchAnalysisRules::FLANK_SHARE = 0.55f
inlineconstexpr

Share of a side's xG on one flank that counts as a pattern, from at least FLANK_MIN_SHOTS shots of that side.

◆ LOOSE_PRESS

constexpr float MatchAnalysisRules::LOOSE_PRESS = 14.0f
inlineconstexpr

Opponent passes per defensive action above which the press is loose.

◆ MAX_SUGGESTIONS

constexpr int MatchAnalysisRules::MAX_SUGGESTIONS = 3
inlineconstexpr

◆ MIN_AERIALS

constexpr int MatchAnalysisRules::MIN_AERIALS = 6
inlineconstexpr

Aerial duels needed before their share is mentioned.

◆ MIN_SHOTS

constexpr int MatchAnalysisRules::MIN_SHOTS = 8
inlineconstexpr

Shots (both sides) before any pattern is read; clock time alone never makes a sample.

◆ PRESS_MIN_ACTIONS

constexpr int MatchAnalysisRules::PRESS_MIN_ACTIONS = 5
inlineconstexpr

◆ PRESS_MIN_PASSES

constexpr int MatchAnalysisRules::PRESS_MIN_PASSES = 60
inlineconstexpr

Passes and defensive actions behind a pressing or possession claim.

◆ RATING_MIN_MINUTES

constexpr float MatchAnalysisRules::RATING_MIN_MINUTES = 20.0f
inlineconstexpr

◆ STANDOUT_RATING

constexpr float MatchAnalysisRules::STANDOUT_RATING = 7.5f
inlineconstexpr

Ratings that single a player out (minimum minutes on the pitch).

◆ STRUGGLING_RATING

constexpr float MatchAnalysisRules::STRUGGLING_RATING = 5.6f
inlineconstexpr

◆ TIGHTEN_MIN_SHOTS

constexpr int MatchAnalysisRules::TIGHTEN_MIN_SHOTS = 6
inlineconstexpr

Opponent shots behind a "they are getting on top" claim.

◆ TIRED_CONDITION

constexpr float MatchAnalysisRules::TIRED_CONDITION = 0.55f
inlineconstexpr

Condition below which a player is flagged as tired.