TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Namespaces | Classes | Typedefs | Functions
cherrypi::model Namespace Reference

Namespaces

 score
 

Classes

struct  BuildOrderConfig
 Defines a build order, from the standpoint of strategy selection. More...
 
class  BuildOrderCount
 Handle on a vector of victory status for each game, giving easy access to relevant figures. More...
 
class  EnemyHistory
 Class holding a playedGames vector for a given enemy. More...
 

Typedefs

typedef std::unordered_map< std::string, BuildOrderConfigBuildOrderConfigurations
 

Functions

std::vector< std::string > acceptableBuildOrders (const std::unordered_map< std::string, BuildOrderConfig > &configs, tc::BW::Race ourRace, tc::BW::Race enemyRace)
 Returns a vector of acceptable build orders for fighting against a given race. More...
 
BuildOrderConfigurations buildOrdersForTraining ()
 Implements the default configuration of each build order This function needs to be modified in order to update the configuration. More...
 
BuildOrderConfigurations buildOrdersForTournament (const std::string &rawOpponentName)
 Returns tournament-specific build order configurations given an opponent. More...
 

Typedef Documentation

typedef std::unordered_map<std::string, BuildOrderConfig> cherrypi::model::BuildOrderConfigurations

Function Documentation

std::vector< std::string > cherrypi::model::acceptableBuildOrders ( const std::unordered_map< std::string, BuildOrderConfig > &  configs,
tc::BW::Race  ourRace,
tc::BW::Race  enemyRace 
)

Returns a vector of acceptable build orders for fighting against a given race.

BuildOrderConfigurations cherrypi::model::buildOrdersForTournament ( const std::string &  rawOpponentName)

Returns tournament-specific build order configurations given an opponent.

BuildOrderConfigurations cherrypi::model::buildOrdersForTraining ( )

Implements the default configuration of each build order This function needs to be modified in order to update the configuration.