ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
Public Member Functions | List of all members
binary_min_heap Class Reference

Public Member Functions

 binary_min_heap (t_float *const A_, const t_index size_)
 
 binary_min_heap (t_float *const A_, const t_index size1, const t_index size2, const t_index start)
 
 ~binary_min_heap ()
 
void heapify ()
 
t_index argmin () const
 
void heap_pop ()
 
void remove (t_index idx)
 
void replace (const t_index idxold, const t_index idxnew, const t_float val)
 
void update (const t_index idx, const t_float val) const
 
void update_leq (const t_index idx, const t_float val) const
 
void update_geq (const t_index idx, const t_float val) const
 
 binary_min_heap (t_float *const A_, const t_index size_)
 
 binary_min_heap (t_float *const A_, const t_index size1, const t_index size2, const t_index start)
 
 ~binary_min_heap ()
 
void heapify ()
 
t_index argmin () const
 
void heap_pop ()
 
void remove (t_index idx)
 
void replace (const t_index idxold, const t_index idxnew, const t_float val)
 
void update (const t_index idx, const t_float val) const
 
void update_leq (const t_index idx, const t_float val) const
 
void update_geq (const t_index idx, const t_float val) const
 

Detailed Description

Definition at line 772 of file fastcluster_dm.cxx.

Constructor & Destructor Documentation

◆ binary_min_heap() [1/4]

binary_min_heap::binary_min_heap ( t_float *const  A_,
const t_index  size_ 
)
inline

Definition at line 807 of file fastcluster_dm.cxx.

◆ binary_min_heap() [2/4]

binary_min_heap::binary_min_heap ( t_float *const  A_,
const t_index  size1,
const t_index  size2,
const t_index  start 
)
inline

Definition at line 814 of file fastcluster_dm.cxx.

◆ ~binary_min_heap() [1/2]

binary_min_heap::~binary_min_heap ( )
inline

Definition at line 824 of file fastcluster_dm.cxx.

◆ binary_min_heap() [3/4]

binary_min_heap::binary_min_heap ( t_float *const  A_,
const t_index  size_ 
)
inline

Definition at line 806 of file fastcluster_dm.cxx.

◆ binary_min_heap() [4/4]

binary_min_heap::binary_min_heap ( t_float *const  A_,
const t_index  size1,
const t_index  size2,
const t_index  start 
)
inline

Definition at line 813 of file fastcluster_dm.cxx.

◆ ~binary_min_heap() [2/2]

binary_min_heap::~binary_min_heap ( )
inline

Definition at line 823 of file fastcluster_dm.cxx.

Member Function Documentation

◆ argmin() [1/2]

t_index binary_min_heap::argmin ( ) const
inline

Definition at line 840 of file fastcluster_dm.cxx.

◆ argmin() [2/2]

t_index binary_min_heap::argmin ( ) const
inline

Definition at line 841 of file fastcluster_dm.cxx.

◆ heap_pop() [1/2]

void binary_min_heap::heap_pop ( )
inline

Definition at line 846 of file fastcluster_dm.cxx.

◆ heap_pop() [2/2]

void binary_min_heap::heap_pop ( )
inline

Definition at line 847 of file fastcluster_dm.cxx.

◆ heapify() [1/2]

void binary_min_heap::heapify ( )
inline

Definition at line 825 of file fastcluster_dm.cxx.

◆ heapify() [2/2]

void binary_min_heap::heapify ( )
inline

Definition at line 826 of file fastcluster_dm.cxx.

◆ remove() [1/2]

void binary_min_heap::remove ( t_index  idx)
inline

Definition at line 855 of file fastcluster_dm.cxx.

◆ remove() [2/2]

void binary_min_heap::remove ( t_index  idx)
inline

Definition at line 856 of file fastcluster_dm.cxx.

◆ replace() [1/2]

void binary_min_heap::replace ( const t_index  idxold,
const t_index  idxnew,
const t_float  val 
)
inline

Definition at line 868 of file fastcluster_dm.cxx.

◆ replace() [2/2]

void binary_min_heap::replace ( const t_index  idxold,
const t_index  idxnew,
const t_float  val 
)
inline

Definition at line 869 of file fastcluster_dm.cxx.

◆ update() [1/2]

void binary_min_heap::update ( const t_index  idx,
const t_float  val 
) const
inline

Definition at line 878 of file fastcluster_dm.cxx.

◆ update() [2/2]

void binary_min_heap::update ( const t_index  idx,
const t_float  val 
) const
inline

Definition at line 879 of file fastcluster_dm.cxx.

◆ update_geq() [1/2]

void binary_min_heap::update_geq ( const t_index  idx,
const t_float  val 
) const
inline

Definition at line 895 of file fastcluster_dm.cxx.

◆ update_geq() [2/2]

void binary_min_heap::update_geq ( const t_index  idx,
const t_float  val 
) const
inline

Definition at line 896 of file fastcluster_dm.cxx.

◆ update_leq() [1/2]

void binary_min_heap::update_leq ( const t_index  idx,
const t_float  val 
) const
inline

Definition at line 888 of file fastcluster_dm.cxx.

◆ update_leq() [2/2]

void binary_min_heap::update_leq ( const t_index  idx,
const t_float  val 
) const
inline

Definition at line 889 of file fastcluster_dm.cxx.


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