BWAPI
Functions
SnippyHolloW-BroodwarBotQ-f01ab56/src/Utils/Util.h File Reference
#include <Macro/RectangleArray.h>
#include <map>
#include <vector>
#include <set>
Include dependency graph for Util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void log (const char *text,...)
std::map< int, int > computeAssignments (Util::RectangleArray< double > &cost)
void myRestartGame ()
void logScore (bool isWinner, std::string mapName)
std::vector< double > exponentialDistribution (double lambda, unsigned int bins=1000)
long double maxVector (const std::vector< long double > &t)
size_t indMax (const std::vector< long double > &t)
std::set< size_t > supTo (const std::vector< long double > &t, long double minProb)

Function Documentation

std::map<int, int> computeAssignments ( Util::RectangleArray< double > &  cost)

Here is the call graph for this function:

std::vector<double> exponentialDistribution ( double  lambda,
unsigned int  bins = 1000 
)
size_t indMax ( const std::vector< long double > &  t)
void log ( const char *  text,
  ... 
)

Here is the caller graph for this function:

void logScore ( bool  isWinner,
std::string  mapName 
)

Here is the caller graph for this function:

long double maxVector ( const std::vector< long double > &  t)

Here is the caller graph for this function:

void myRestartGame ( )

Here is the caller graph for this function:

std::set<size_t> supTo ( const std::vector< long double > &  t,
long double  minProb 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines