tree_layout.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2023-2025, NVIDIA CORPORATION.
3  * SPDX-License-Identifier: Apache-2.0
4  */
5 #pragma once
6 namespace ML {
7 namespace fil {
8 enum class tree_layout : unsigned char {
9  depth_first = 0,
10  breadth_first = 1,
11  // Traverse forest by proceeding through the root nodes of each tree first,
12  // followed by the hot and distant children of those root nodes for each tree,
13  // and so forth. This traversal order ensures that all nodes of a
14  // particular tree at a particular depth are traversed together.
16 };
17 
18 }
19 } // namespace ML
tree_layout
Definition: tree_layout.hpp:8
Definition: dbscan.hpp:18