#include "RectangleArray.h"
#include "BWAPI.h"
#include <map>
#include <algorithm>
	class Task;
	void resetLog();
	void log( const char* text, ... );
	void logTask( Task* t, const char* text, ... );
	std::map< int, int >& computeAssignments( BWSAL::RectangleArray< double > &cost );
	bool resourceDepotIsCompleted( BWAPI::Unit* u );
	void fixName( std::string& name );

#ifndef max
#define max std::max
#endif
#ifndef min
#define min std::min
#endif