treelite
Namespaces | Enumerations | Functions
tree_node_type.h File Reference

Define enum type NodeType. More...

#include <cstdint>
#include <string>
Include dependency graph for tree_node_type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 treelite
 

Enumerations

enum class  treelite::TreeNodeType : std::int8_t { treelite::kLeafNode = 0 , treelite::kNumericalTestNode = 1 , treelite::kCategoricalTestNode = 2 }
 Tree node type. More...
 

Functions

std::string treelite::TreeNodeTypeToString (TreeNodeType type)
 Get string representation of TreeNodeType. More...
 
TreeNodeType treelite::TreeNodeTypeFromString (std::string const &name)
 Get NodeType from string. More...
 

Detailed Description

Define enum type NodeType.

Copyright (c) 2023 by Contributors

Author
Hyunsu Cho