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

Variables

constexpr float BIG_CHANCE_XG = 0.3f
 
constexpr float CLEAR_XG_GAP = 0.6f
 
constexpr float FINISHING_GAP = 1.0f
 
constexpr int MIN_FLANK_TOUCHES = 24
 
constexpr float FLANK_SHARE = 0.45f
 
constexpr int MIN_SPELL_TOUCHES = 12
 
constexpr float LOW_SHOT_QUALITY = 0.075f
 
constexpr int MIN_SHOTS_FOR_QUALITY = 10
 
constexpr int MAX_SUMMARY_LINES = 5
 

Variable Documentation

◆ BIG_CHANCE_XG

constexpr float MatchInsights::BIG_CHANCE_XG = 0.3f
inlineconstexpr

◆ CLEAR_XG_GAP

constexpr float MatchInsights::CLEAR_XG_GAP = 0.6f
inlineconstexpr

Gap between the sides' xG that makes one side the better one.

◆ FINISHING_GAP

constexpr float MatchInsights::FINISHING_GAP = 1.0f
inlineconstexpr

Goals minus xG that counts as clinical or wasteful finishing.

◆ FLANK_SHARE

constexpr float MatchInsights::FLANK_SHARE = 0.45f
inlineconstexpr

◆ LOW_SHOT_QUALITY

constexpr float MatchInsights::LOW_SHOT_QUALITY = 0.075f
inlineconstexpr

Average xG per shot below which shots count as speculative.

◆ MAX_SUMMARY_LINES

constexpr int MatchInsights::MAX_SUMMARY_LINES = 5
inlineconstexpr

◆ MIN_FLANK_TOUCHES

constexpr int MatchInsights::MIN_FLANK_TOUCHES = 24
inlineconstexpr

Final-third touches behind any flank or spell claim.

◆ MIN_SHOTS_FOR_QUALITY

constexpr int MatchInsights::MIN_SHOTS_FOR_QUALITY = 10
inlineconstexpr

◆ MIN_SPELL_TOUCHES

constexpr int MatchInsights::MIN_SPELL_TOUCHES = 12
inlineconstexpr