Fleet  0.0.9
Inference in the LOT
Classes | Functions
BaseNode.h File Reference

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...

#include <vector>
#include <string>
#include "Errors.h"
#include "IO.h"
Include dependency graph for BaseNode.h:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

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.

Function Documentation

◆ operator<<()

template<typename this_t >
std::ostream& operator<< ( std::ostream &  o,
const BaseNode< this_t > &  t 
)