BWAPI
Functions | Variables
SnippyHolloW-BroodwarBotQ-f01ab56/src/Utils/Util.cpp File Reference
#include <PrecompiledHeader.h>
#include "Utils/Util.h"
#include <stdarg.h>
#include <sys/stat.h>
#include "Defines.h"
Include dependency graph for Util.cpp:

Functions

void log (const char *text,...)
void myRestartGame ()
void logScore (bool isWinner, std::string mapName)
std::vector< double > exponentialDistribution (double lambda, unsigned int bins)
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)

Variables

char buffer [1024]

Function Documentation

std::vector<double> exponentialDistribution ( double  lambda,
unsigned int  bins 
)
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 
)

Variable Documentation

char buffer[1024]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines