BWAPI
|
#include <Arbitrator.h>
Public Member Functions | |
Arbitrator (AgentPool *p) | |
~Arbitrator () | |
bool | declareIntention (GoalDescriptor *g) |
bool | canDeclareIntention (int g) |
void | performInitialArbitraton () |
void | appendSubSet (std::vector< GoalDescriptor * > goals) |
void | performArbitraton () |
void | cleanUp () |
std::pair< int, int > | estimateCost (std::vector< GoalDescriptor * > g) |
std::vector< GoalDescriptor * > | getExecutingGoals () |
GoalDescriptor * | getWinner () |
BidManager * | getBidManager () |
std::vector< GoalDescriptor * > | getActiveGoals () |
std::vector< GoalDescriptor * > | getAchievableGoals () |
Public Attributes | |
GoalDescriptor * | winner |
Arbitrator::Arbitrator | ( | AgentPool * | p | ) |
void Arbitrator::appendSubSet | ( | std::vector< GoalDescriptor * > | goals | ) |
bool Arbitrator::canDeclareIntention | ( | int | g | ) |
void Arbitrator::cleanUp | ( | ) |
bool Arbitrator::declareIntention | ( | GoalDescriptor * | g | ) |
std::pair< int, int > Arbitrator::estimateCost | ( | std::vector< GoalDescriptor * > | g | ) |
std::vector< GoalDescriptor * > Arbitrator::getAchievableGoals | ( | ) |
std::vector< GoalDescriptor * > Arbitrator::getActiveGoals | ( | ) |
std::vector< GoalDescriptor * > Arbitrator::getExecutingGoals | ( | ) |
void Arbitrator::performArbitraton | ( | ) |
void Arbitrator::performInitialArbitraton | ( | ) |