4 #include "../../alignment/State.h" 10 #include "../pytorch/Policy.h" 12 #include "../../alignment/Graph.h" 33 Agent(
Graph& g) : s0(g.getEdges()), lpolicy(g.getEdges().size()) {};
Policy lpolicy
Pointer to the Policy that Agent currently uses.
Definition: Agent.h:24
This Agent class selects edges according to a policy.
Definition: Agent.h:20
Agent(Graph &g)
Default destructor.
Definition: Agent.h:33
state s0
The initial state where every episode starts.
Definition: Agent.h:23
This state class encapsulates the current game state. It can output possible actions and select them...
Definition: State.h:16
Agent()
Default constructor.
Definition: Agent.cc:4
Episode getEpisode()
Definition: Agent.cc:6
std::pair< state *, unsigned int > executePolicy(state *s, Policy &p)
Definition: Agent.cc:46