BWAPI
quorum/ExampleAIModule/Node.h
Go to the documentation of this file.
00001 #ifndef NODE_H
00002 #define NODE_H
00003 #include "BuildOrders.h"
00004 #include <vector>
00005 
00006 class Node {
00007 public:
00008 
00009         Node::Node();
00010         Node(int freq, int at);
00011         void addChild(Node* n);
00012         void addChild(int a, int f);
00013         Node* getChild(int n);
00014 
00015         int actionType;
00016         int frequency;
00017         std::vector<Node*> children;
00018 
00019 private:
00020 
00021 
00022 };
00023 
00024 
00025 
00026 #endif
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines