Home
libcuml
cucim
cudf-java
cudf
cugraph
cuml
cuproj
cuspatial
cuvs
cuxfilter
dask-cuda
dask-cudf
kvikio
libcudf
libcuml
libcuproj
libcuspatial
libkvikio
librapidsmpf
librmm
libucxx
raft
rapids-cmake
rapidsmpf
rmm
ucxx
nightly (26.02)
nightly (26.02)
stable (25.12)
legacy (25.10)
include
cuml
fil
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.
15
layered_children_together
= 2
16
};
17
18
}
19
}
// namespace ML
ML::fil::tree_layout
tree_layout
Definition:
tree_layout.hpp:8
ML::fil::tree_layout::breadth_first
@ breadth_first
ML::fil::tree_layout::layered_children_together
@ layered_children_together
ML::fil::tree_layout::depth_first
@ depth_first
ML
Definition:
dbscan.hpp:18
Generated by
1.9.1