Loading [MathJax]/extensions/tex2jax.js
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t > Struct Template Reference

#include <treelite.hpp>

Inheritance diagram for ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >:
Inheritance graph
Collaboration diagram for ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >:
Collaboration graph

Public Member Functions

 treelite_traversal_node (treelite::Tree< tl_threshold_t, tl_output_t > const &tl_tree, id_type node_id)
 
bool is_leaf () const override
 
id_type hot_child () const override
 
id_type distant_child () const override
 
auto default_distant () const
 
auto get_feature () const
 
auto is_inclusive () const
 
auto is_categorical () const
 
auto get_categories () const
 
auto threshold () const
 
auto max_num_categories () const
 
auto get_output () const
 
auto get_treelite_id () const
 
- Public Member Functions inherited from ML::experimental::forest::traversal_node< TREELITE_NODE_ID_T >
virtual id_type parent () const
 

Additional Inherited Members

- Public Types inherited from ML::experimental::forest::traversal_node< TREELITE_NODE_ID_T >
using id_type = TREELITE_NODE_ID_T
 

Constructor & Destructor Documentation

◆ treelite_traversal_node()

template<typename tl_threshold_t , typename tl_output_t >
ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::treelite_traversal_node ( treelite::Tree< tl_threshold_t, tl_output_t > const &  tl_tree,
id_type  node_id 
)
inline

Member Function Documentation

◆ default_distant()

template<typename tl_threshold_t , typename tl_output_t >
auto ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::default_distant ( ) const
inline

◆ distant_child()

template<typename tl_threshold_t , typename tl_output_t >
id_type ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::distant_child ( ) const
inlineoverridevirtual

◆ get_categories()

template<typename tl_threshold_t , typename tl_output_t >
auto ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::get_categories ( ) const
inline

◆ get_feature()

template<typename tl_threshold_t , typename tl_output_t >
auto ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::get_feature ( ) const
inline

◆ get_output()

template<typename tl_threshold_t , typename tl_output_t >
auto ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::get_output ( ) const
inline

◆ get_treelite_id()

template<typename tl_threshold_t , typename tl_output_t >
auto ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::get_treelite_id ( ) const
inline

◆ hot_child()

template<typename tl_threshold_t , typename tl_output_t >
id_type ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::hot_child ( ) const
inlineoverridevirtual

◆ is_categorical()

template<typename tl_threshold_t , typename tl_output_t >
auto ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::is_categorical ( ) const
inline

◆ is_inclusive()

template<typename tl_threshold_t , typename tl_output_t >
auto ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::is_inclusive ( ) const
inline

◆ is_leaf()

template<typename tl_threshold_t , typename tl_output_t >
bool ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::is_leaf ( ) const
inlineoverridevirtual

◆ max_num_categories()

template<typename tl_threshold_t , typename tl_output_t >
auto ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::max_num_categories ( ) const
inline

◆ threshold()

template<typename tl_threshold_t , typename tl_output_t >
auto ML::experimental::forest::treelite_traversal_node< tl_threshold_t, tl_output_t >::threshold ( ) const
inline

The documentation for this struct was generated from the following file: