Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
struct | ValueLoc |
Public Member Functions | |
MinHeap (const std::vector< double > &values, unsigned int max_size) | |
MinHeap (unsigned int max_size) | |
MinHeap (const std::vector< double > &values) | |
void | initialise (const std::vector< double > &values) |
unsigned int | minloc () const |
double | minval () const |
double | operator[] (int i) const |
void | remove (unsigned int loc) |
void | update (unsigned int, double) |
Private Attributes | |
std::vector< ValueLoc > | _heap |
Definition at line 642 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 642 of file fjcore.cc
|
inline |
Definition at line 644 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 644 of file fjcore.cc
References initialise().
|
inline |
|
inline |
Definition at line 647 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 647 of file fjcore.cc
References initialise().
void MinHeap::initialise | ( | const std::vector< double > & | values | ) |
Definition at line 3686 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 3686 of file fjcore.cc
References i, MinHeap::ValueLoc::minloc, and MinHeap::ValueLoc::value.
Referenced by MinHeap().
|
inline |
Definition at line 650 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 650 of file fjcore.cc
References _heap.
Referenced by ClusterSequence::_minheap_faster_tiled_N2_cluster(), LazyTiling9Alt::run(), LazyTiling9::run(), and LazyTiling25::run().
|
inline |
Definition at line 652 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 652 of file fjcore.cc
References _heap.
Referenced by ClusterSequence::_minheap_faster_tiled_N2_cluster(), LazyTiling9Alt::run(), LazyTiling9::run(), and LazyTiling25::run().
|
inline |
|
inline |
Definition at line 654 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 654 of file fjcore.cc
Referenced by ClusterSequence::_minheap_faster_tiled_N2_cluster(), LazyTiling9Alt::run(), LazyTiling9::run(), and LazyTiling25::run().
void MinHeap::update | ( | unsigned int | loc, |
double | new_value | ||
) |
Definition at line 3703 of file fjcore.cc.
View newest version in sPHENIX GitHub at line 3703 of file fjcore.cc
References assert, loc, MinHeap::ValueLoc::minloc, start, and MinHeap::ValueLoc::value.
Referenced by ClusterSequence::_minheap_faster_tiled_N2_cluster(), remove(), LazyTiling9Alt::run(), LazyTiling9::run(), and LazyTiling25::run().
|
private |