copasi API  0.1
Public Member Functions | Friends
PQNode Class Reference

#include <CIndexedPriorityQueue.h>

List of all members.

Public Member Functions

 PQNode (C_INT32 idx, C_FLOAT64 key)

Friends

class CIndexedPriorityQueue
std::ostream & operator<< (std::ostream &os, const PQNode &d)

Detailed Description

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.


Constructor & Destructor Documentation

PQNode::PQNode ( C_INT32  idx,
C_FLOAT64  key 
) [inline]

Construct a PQNode with the given index and key

Parameters:
idxThe index
keyThe key

Friends And Related Function Documentation

friend class CIndexedPriorityQueue [friend]
std::ostream& operator<< ( std::ostream &  os,
const PQNode d 
) [friend]

insert operator


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines