#include <treelite_importer.hpp>
Public Types | |
using | backing_container_t = std::conditional_t< layout==tree_layout::depth_first, std::stack< T >, std::queue< T > > |
Public Member Functions | |
void | add (T const &val) |
void | add (T const &hot, T const &distant) |
auto | next () |
auto | peek () |
auto | empty () |
auto | size () |
A template for storing nodes in either a depth or breadth-first traversal
using ML::experimental::fil::detail::traversal_container< layout, T >::backing_container_t = std::conditional_t<layout == tree_layout::depth_first, std::stack<T>, std::queue<T> > |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |