|
libmcts
A Monte Carlo Tree Search Library
|
special node that is the root of each tree. Its merely a wrapper that wrapps around a inner node. More...
#include <root_node.hpp>
Public Types | |
| typedef RootNode< Context, Config, WrapNode > | root_node_t |
Public Member Functions | |
| RootNode (const Context &context, Config *config) | |
| constructs a new object and passes all parameters to the wrapped node. More... | |
| virtual node_t * | parent () const |
| disabled in root node, to end backpropagating actions. More... | |
| virtual void | backpropagate (const double &value) |
| consume value and do noting more. More... | |
special node that is the root of each tree. Its merely a wrapper that wrapps around a inner node.
| Context | @README |
| Config | @README |
| WrapNode | node to derive from. ( has to be derived from inner node ) |
Definition at line 18 of file root_node.hpp.
|
inline |
constructs a new object and passes all parameters to the wrapped node.
| context | describing a state |
| config | pointer to config object. |
Definition at line 31 of file root_node.hpp.
|
inlinevirtual |
consume value and do noting more.
| value | to consume |
Definition at line 46 of file root_node.hpp.
|
inlinevirtual |
disabled in root node, to end backpropagating actions.
Definition at line 39 of file root_node.hpp.
1.8.15