OpenMS
Loading...
Searching...
No Matches
BinaryTreeNode.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Mathias Walzer $
6// $Authors: $
7// --------------------------------------------------------------------------
8
9#pragma once
10
12#include <OpenMS/OpenMSConfig.h>
13
14namespace OpenMS
15{
16
22 class OPENMS_DLLAPI BinaryTreeNode
23 {
24public:
26 BinaryTreeNode(const Size i, const Size j, const float x);
27
30
33
36
39 float distance;
40
41private:
43 };
44
45}
46
Elements of a binary tree used to represent a hierarchical clustering process.
Definition BinaryTreeNode.h:23
float distance
Definition BinaryTreeNode.h:39
BinaryTreeNode(const Size i, const Size j, const float x)
constructor
BinaryTreeNode & operator=(const BinaryTreeNode &source)
assignment operator
Size left_child
Definition BinaryTreeNode.h:37
~BinaryTreeNode()
destructor
Size right_child
Definition BinaryTreeNode.h:38
BinaryTreeNode(const BinaryTreeNode &source)
copy constructor
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition Types.h:97
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19