![]() |
Fleet
0.0.9
Inference in the LOT
|
This is a general tree class, which we are adding because there are currently at least 3 different tree classes used in different parts of fleet (Nodes, MCTS, data for BindingTheory, etc.). This is an attempt to make a big superclass that puts all of this functionality in one place. It attempts to keep the node size small so that we can use this efficiently in MCTS in particular. More...
Go to the source code of this file.
Classes | |
class | BaseNode< this_t > |
class | BaseNode< this_t >::NodeIterator |
Functions | |
template<typename this_t > | |
std::ostream & | operator<< (std::ostream &o, const BaseNode< this_t > &t) |
This is a general tree class, which we are adding because there are currently at least 3 different tree classes used in different parts of fleet (Nodes, MCTS, data for BindingTheory, etc.). This is an attempt to make a big superclass that puts all of this functionality in one place. It attempts to keep the node size small so that we can use this efficiently in MCTS in particular.
Define an interator for nodes. This iterates in prefix order, which is the standard in the library because it's used for linearization.
std::ostream& operator<< | ( | std::ostream & | o, |
const BaseNode< this_t > & | t | ||
) |