78 using ProfileSet = std::array<Profile, rules::MaxPlayers>;
82 std::array<std::int64_t, rules::MaxPlayers>
moneyOwed{};
89 std::string_view
text,
92 const std::filesystem::path&
path,
103 const ConfigContext& context = {})
noexcept;
107 const ConfigContext& context = {})
noexcept;
111 const ConfigContext& context = {})
noexcept;
std::expected< Profile, Error > load(const std::filesystem::path &path, int level)
std::array< Profile, rules::MaxPlayers > ProfileSet
decision::CounterProposalBalanceConfig makeCounterBalanceConfig(const ProfileSet &profiles, rules::PlayerNumber strategyPlayer, const ConfigContext &context) noexcept
decision::MonopolyProposalConfig makeMonopolyProposalConfig(const ProfileSet &profiles, rules::PlayerNumber strategyPlayer, const ConfigContext &context) noexcept
decision::TradeEvaluationConfig makeTradeEvaluationConfig(const ProfileSet &profiles, rules::PlayerNumber strategyPlayer, const ConfigContext &context) noexcept
std::string_view tokenFileName(std::uint8_t token) noexcept
std::expected< Profile, Error > parse(std::string_view text, int level)
decision::CounterProposalPreflightConfig makeCounterPreflightConfig(const ProfileSet &profiles, rules::PlayerNumber strategyPlayer, const ConfigContext &context) noexcept
constexpr std::size_t TokenProfileCount
std::array< MonopolyTradeGenerosity, WhatToTradeEntries > WhatToTradeTable
std::uint8_t PlayerNumber
constexpr PlayerNumber NobodyPlayer
rules::board::SquareType purchasingProperty
rules::PlayerNumber purchasingPlayer
std::array< bool, rules::MaxPlayers > localAIPlayer
std::array< std::int64_t, rules::MaxPlayers > moneyOwed
std::int64_t minCashOnHand
double cashLiquidAssetsDependence
int maxHousesPerSquareForGiveAway
decision::CashStrategy cashStrategy
int turnsToForgetPropertyTrade
std::int64_t timeForgetTrade
double monopolyTradeProbability
decision::WorthFactors worthFactors
double attitudeLostForRejectedTrade
double proposeTradeProbability
double minEvaluationIfFedUp
double minimumNonmonopolyTradeAttitude
double monopolyOwnedStageCashMultiplier
std::uint8_t housingPurchaseStrategy
double proposeMonopolyGiveAwayProbability
std::array< double, rules::MaxPlayers > playerAttitude
double lowestPropertyImportanceForCounter
double noMonopolyStageCashMultiplier
double tradeImportanceFactor
double tradeCounterProbability
trade::WhatToTradeTable whatToTrade
trade::PropertyImportanceConfig propertyImportance
double minGiveMonopolyEvaluation
double monopolySuicideFactor
int numberTimesAllowPropertyTrade
double attitudeTickChange
double balticReceivedImportance
double attitudeChangeTradeObserving
double minEvaluationThreshold
double buyingStageCashMultiplier
double monopolyNotOwnedStageCashMultiplier