OpenMS
BinaryTreeNode.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, The OpenMS Team -- 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 
11 #include <OpenMS/CONCEPT/Types.h>
12 #include <OpenMS/OpenMSConfig.h>
13 
14 namespace OpenMS
15 {
16 
22  class OPENMS_DLLAPI BinaryTreeNode
23  {
24 public:
26  BinaryTreeNode(const Size i, const Size j, const float x);
27 
30 
33 
36 
39  float distance;
40 
41 private:
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
Size left_child
Definition: BinaryTreeNode.h:37
BinaryTreeNode & operator=(const BinaryTreeNode &source)
assignment operator
~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:101
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22