copasi API
0.1
|
#include <CIndexedPriorityQueue.h>
Public Member Functions | |
PQNode (C_INT32 idx, C_FLOAT64 key) | |
Friends | |
class | CIndexedPriorityQueue |
std::ostream & | operator<< (std::ostream &os, const PQNode &d) |
The PQNode class contains two members, an integer to represent the index, and a double to represent the key. The heap structure of the indexed priority queue class is implemented as a vector of PQNode.
PQNode::PQNode | ( | C_INT32 | idx, |
C_FLOAT64 | key | ||
) | [inline] |
Construct a PQNode with the given index and key
idx | The index |
key | The key |
friend class CIndexedPriorityQueue [friend] |
std::ostream& operator<< | ( | std::ostream & | os, |
const PQNode & | d | ||
) | [friend] |
insert operator