BWAPI
SnippyHolloW-BroodwarBotQ-f01ab56/src/Utils/Util.h
Go to the documentation of this file.
00001 #pragma once
00002 #include <Macro/RectangleArray.h>
00003 #include <map>
00004 #include <vector>
00005 #include <set>
00006 void log(const char* text, ...);
00007 std::map<int, int> computeAssignments(Util::RectangleArray< double> &cost);
00008 void myRestartGame();
00009 void logScore(bool isWinner, std::string mapName);
00010 std::vector<double> exponentialDistribution(double lambda, unsigned int bins=1000);
00011 long double maxVector(const std::vector<long double>& t);
00012 size_t indMax(const std::vector<long double>& t);
00013 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