|
ppforest2 v0.1.0
Projection Pursuit Decision Trees and Random Forests
|
Visitor that serializes a tree node to JSON. More...
#include <Json.hpp>
Public Member Functions | |
| JsonNodeVisitor ()=default | |
| JsonNodeVisitor (Names group_names) | |
| void | visit (TreeBranch const &node) override |
| void | visit (TreeLeaf const &node) override |
Public Member Functions inherited from ppforest2::TreeNode::Visitor | |
| virtual | ~Visitor ()=default |
Public Attributes | |
| Names const | group_names |
| When non-empty, leaf values and group sets are written as label strings. | |
| json | result |
Visitor that serializes a tree node to JSON.
|
default |
|
inlineexplicit |
|
overridevirtual |
Reimplemented from ppforest2::TreeNode::Visitor.
|
overridevirtual |
Reimplemented from ppforest2::TreeNode::Visitor.
| Names const ppforest2::serialization::JsonNodeVisitor::group_names |
When non-empty, leaf values and group sets are written as label strings.
| json ppforest2::serialization::JsonNodeVisitor::result |