Player12
An open source football management simulator
Loading...
Searching...
No Matches
match_context.h
Go to the documentation of this file.
1
// -----------------------------------------------------------------------------
2
// Football Management Project
3
// Copyright (c) 2025 - 2026 Flavio Milinanni. All Rights Reserved.
4
//
5
// This file is part of the Football Management Project.
6
// See the LICENSE file in the project root.
7
// -----------------------------------------------------------------------------
8
9
#pragma once
10
11
#include "
model/match_tuning.h
"
12
25
struct
MatchContext
26
{
29
float
goalRateScale
= 1.0F;
31
float
refereeStrictnessMean
= 1.0F;
32
float
refereeStrictnessSd
=
MatchTuning::Discipline::STRICTNESS_SD
;
35
float
homeAdvantageScale
= 1.0F;
36
};
match_tuning.h
MatchContext
Definition
match_context.h:26
MatchContext::goalRateScale
float goalRateScale
Definition
match_context.h:29
MatchContext::refereeStrictnessMean
float refereeStrictnessMean
Definition
match_context.h:31
MatchContext::refereeStrictnessSd
float refereeStrictnessSd
Definition
match_context.h:32
MatchContext::homeAdvantageScale
float homeAdvantageScale
Definition
match_context.h:35
MatchTuning::Discipline::STRICTNESS_SD
static constexpr float STRICTNESS_SD
Definition
match_tuning.h:938
src
model
match_context.h
Generated by
1.9.8