ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
ROOT::Math::KDTree< _DataPoint >::BinNode Class Reference

template<class _DataPoint>
class ROOT::Math::KDTree< _DataPoint >::BinNode

Definition at line 182 of file KDTree.h.

Public Member Functions

 BinNode (BaseNode *pParent=0)
 
 BinNode (const BinNode &copy)
 
virtual ~BinNode ()
 
virtual void EmptyBin ()
 
virtual const BinNodeFindNode (const point_type &rPoint) const
 
point_type GetBinCenter () const
 
Double_t GetBinContent () const
 
virtual const std::vector
< tBoundary > & 
GetBoundaries () const
 
Double_t GetDensity () const
 
Double_t GetEffectiveEntries () const
 
UInt_t GetEntries () const
 
Double_t GetVolume () const
 
Double_t GetSumw () const
 
Double_t GetSumw2 () const
 
virtual Bool_t Insert (const point_type &rPoint)
 
Bool_t IsInBin (const point_type &rPoint) const
 
virtual void Print (int iRow=0) const
 
- Public Member Functions inherited from ROOT::Math::KDTree< _DataPoint >::BaseNode
 BaseNode (BaseNode *pParent=0)
 
virtual ~BaseNode ()
 
BaseNode *& LeftChild ()
 
const BaseNodeLeftChild () const
 
BaseNode *& Parent ()
 
const BaseNodeParent () const
 
BaseNode *& RightChild ()
 
const BaseNodeRightChild () const
 
BaseNode *& GetParentPointer ()
 
virtual Bool_t IsHeadNode () const
 
Bool_t IsLeftChild () const
 

Protected Types

typedef std::pair< value_type,
value_type
tBoundary
 

Protected Member Functions

virtual BinNodeClone ()
 

Protected Attributes

std::vector< tBoundaryfBoundaries
 
Double_t fSumw
 
Double_t fSumw2
 
UInt_t fEntries
 

Private Member Functions

BinNodeoperator= (const BinNode &rhs)
 
virtual void GetClosestPoints (const point_type &, UInt_t, std::vector< std::pair< const _DataPoint *, Double_t > > &) const
 
virtual void GetPointsWithinDist (const point_type &, value_type, std::vector< const point_type * > &) const
 
Inheritance diagram for ROOT::Math::KDTree< _DataPoint >::BinNode:
[legend]

Member Typedef Documentation

template<class _DataPoint>
typedef std::pair<value_type,value_type> ROOT::Math::KDTree< _DataPoint >::BinNode::tBoundary
protected

Definition at line 186 of file KDTree.h.

Constructor & Destructor Documentation

template<class _DataPoint>
ROOT::Math::KDTree< _DataPoint >::BinNode::BinNode ( BaseNode pParent = 0)
template<class _DataPoint>
ROOT::Math::KDTree< _DataPoint >::BinNode::BinNode ( const BinNode copy)
template<class _DataPoint>
virtual ROOT::Math::KDTree< _DataPoint >::BinNode::~BinNode ( )
inlinevirtual

Definition at line 191 of file KDTree.h.

Member Function Documentation

template<class _DataPoint>
KDTree< _DataPoint >::BinNode * ROOT::Math::KDTree< _DataPoint >::BinNode::Clone ( )
protectedvirtual
template<class _DataPoint>
void ROOT::Math::KDTree< _DataPoint >::BinNode::EmptyBin ( )
virtual
template<class _DataPoint>
const KDTree< _DataPoint >::BinNode * ROOT::Math::KDTree< _DataPoint >::BinNode::FindNode ( const point_type rPoint) const
virtual
template<class _DataPoint>
_DataPoint ROOT::Math::KDTree< _DataPoint >::BinNode::GetBinCenter ( ) const

Definition at line 822 of file KDTree.icc.

template<class _DataPoint>
Double_t ROOT::Math::KDTree< _DataPoint >::BinNode::GetBinContent ( ) const
inline

Definition at line 197 of file KDTree.h.

Referenced by ROOT::Math::KDTree< _DataPoint >::BinNode::GetDensity().

template<class _DataPoint>
virtual const std::vector<tBoundary>& ROOT::Math::KDTree< _DataPoint >::BinNode::GetBoundaries ( ) const
inlinevirtual
template<class _DataPoint>
virtual void ROOT::Math::KDTree< _DataPoint >::BinNode::GetClosestPoints ( const point_type ,
UInt_t  ,
std::vector< std::pair< const _DataPoint *, Double_t > > &   
) const
inlineprivatevirtual
template<class _DataPoint>
Double_t ROOT::Math::KDTree< _DataPoint >::BinNode::GetDensity ( ) const
inline

Definition at line 203 of file KDTree.h.

template<class _DataPoint>
Double_t ROOT::Math::KDTree< _DataPoint >::BinNode::GetEffectiveEntries ( ) const
inline

Definition at line 204 of file KDTree.h.

template<class _DataPoint>
UInt_t ROOT::Math::KDTree< _DataPoint >::BinNode::GetEntries ( ) const
inline

Definition at line 205 of file KDTree.h.

template<class _DataPoint>
virtual void ROOT::Math::KDTree< _DataPoint >::BinNode::GetPointsWithinDist ( const point_type ,
value_type  ,
std::vector< const point_type * > &   
) const
inlineprivatevirtual
template<class _DataPoint>
Double_t ROOT::Math::KDTree< _DataPoint >::BinNode::GetSumw ( ) const
inline
template<class _DataPoint>
Double_t ROOT::Math::KDTree< _DataPoint >::BinNode::GetSumw2 ( ) const
inline
template<class _DataPoint>
Double_t ROOT::Math::KDTree< _DataPoint >::BinNode::GetVolume ( ) const

Definition at line 839 of file KDTree.icc.

Referenced by ROOT::Math::KDTree< _DataPoint >::BinNode::GetDensity().

template<class _DataPoint>
Bool_t ROOT::Math::KDTree< _DataPoint >::BinNode::Insert ( const point_type rPoint)
virtual
template<class _DataPoint>
Bool_t ROOT::Math::KDTree< _DataPoint >::BinNode::IsInBin ( const point_type rPoint) const

Definition at line 874 of file KDTree.icc.

template<class _DataPoint>
KDTree< _DataPoint >::BinNode & ROOT::Math::KDTree< _DataPoint >::BinNode::operator= ( const BinNode rhs)
private

Definition at line 794 of file KDTree.icc.

template<class _DataPoint>
void ROOT::Math::KDTree< _DataPoint >::BinNode::Print ( int  iRow = 0) const
virtual

Member Data Documentation

template<class _DataPoint>
std::vector<tBoundary> ROOT::Math::KDTree< _DataPoint >::BinNode::fBoundaries
protected
template<class _DataPoint>
UInt_t ROOT::Math::KDTree< _DataPoint >::BinNode::fEntries
protected
template<class _DataPoint>
Double_t ROOT::Math::KDTree< _DataPoint >::BinNode::fSumw
protected
template<class _DataPoint>
Double_t ROOT::Math::KDTree< _DataPoint >::BinNode::fSumw2
protected
Collaboration diagram for ROOT::Math::KDTree< _DataPoint >::BinNode:
[legend]

The documentation for this class was generated from the following files: