Maximum Acyclic Subgraph - Multiple Sequence Alignment
MaximumAcyclicSubgraph
Gamemaster.h
1 #ifndef Gamemaster_H_
2 #define Gamemaster_H_
3 #include <vector>
4 #include "../alignment/DrawNode.h"
5 #include "../alignment/Graph.h"
6 #include "../alignment/State.h"
7 #include "../ML/SimpleAgent/Agent.h"
8 #include "../ML/pytorch/TrainingSet.h"
9 #include <memory>
10 
11 class Gamemaster {
12  public:
15  std::vector<DrawNode> GameNodes;
16  std::unique_ptr<Agent> GameAgent;
17  std::unique_ptr<TrainingSet> GameTS;
19 
26  std::vector<std::string> getKmers(std::vector<Node>& nodeList);
27 
35  void makeGame(unsigned int k, unsigned int length, unsigned int number_of_sequences, double probability);
36 
41  Gamemaster();
42 };
43 
44 #endif //Gamemaster_H_
Gamemaster()
Definition: Gamemaster.cc:12
Definition: Graph.h:17
Definition: Gamemaster.h:11
std::unique_ptr< TrainingSet > GameTS
The TrainingSet of the game.
Definition: Gamemaster.h:17
void makeGame(unsigned int k, unsigned int length, unsigned int number_of_sequences, double probability)
Definition: Gamemaster.cc:14
state AgentState
The initial State for the GameAgent.
Definition: Gamemaster.h:18
std::vector< std::string > getKmers(std::vector< Node > &nodeList)
Definition: Gamemaster.cc:39
state GameState
The State of GameGraph.
Definition: Gamemaster.h:14
This state class encapsulates the current game state. It can output possible actions and select them...
Definition: State.h:16
std::unique_ptr< Agent > GameAgent
The Agent of the game.
Definition: Gamemaster.h:16
std::vector< DrawNode > GameNodes
DrawNodes of GameGraph.
Definition: Gamemaster.h:15
Graph GameGraph
The Graph of the game.
Definition: Gamemaster.h:13