virtual void vote();
virtual void voteResult();
void getPlayers();
+ template<class Goal, class Cost>
+ std::list<std::string> shortestPath(const std::string& from, PlayerType type, const Goal& goal, const Cost& cost, bool reverse = false);
template<class Goal>
std::list<std::string> shortestPath(const std::string& from, PlayerType type, const Goal& goal, bool reverse = false);
__gnu_cxx::hash_map<std::string, int> _winningPlans;
};
+
class SimpleSPGoal{
std::string _to;
int _limit;