Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
AIProfile.cpp File Reference
#include "AIProfile.hpp"
#include <algorithm>
#include <cmath>
#include <fstream>
#include <sstream>
#include <vector>
Include dependency graph for AIProfile.cpp:

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::ai
 
namespace  monopoly::ai::profile
 

Functions

std::expected< Profile, Error > monopoly::ai::profile::parse (std::string_view text, int level)
 
std::expected< Profile, Error > monopoly::ai::profile::load (const std::filesystem::path &path, int level)
 
std::string_view monopoly::ai::profile::tokenFileName (std::uint8_t token) noexcept
 
decision::TradeEvaluationConfig monopoly::ai::profile::makeTradeEvaluationConfig (const ProfileSet &profiles, rules::PlayerNumber strategyPlayer, const ConfigContext &context) noexcept
 
decision::CounterProposalPreflightConfig monopoly::ai::profile::makeCounterPreflightConfig (const ProfileSet &profiles, rules::PlayerNumber strategyPlayer, const ConfigContext &context) noexcept
 
decision::CounterProposalBalanceConfig monopoly::ai::profile::makeCounterBalanceConfig (const ProfileSet &profiles, rules::PlayerNumber strategyPlayer, const ConfigContext &context) noexcept
 
decision::MonopolyProposalConfig monopoly::ai::profile::makeMonopolyProposalConfig (const ProfileSet &profiles, rules::PlayerNumber strategyPlayer, const ConfigContext &context) noexcept