Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

matvec::compareGNodesWeight Struct Reference

#include <gnodestuff.h>

List of all members.

Public Methods

bool operator() (GNode *a, GNode *b)


Member Function Documentation

bool matvec::compareGNodesWeight::operator() GNode   a,
GNode   b
[inline]
 

Definition at line 136 of file gnodestuff.h.

References matvec::GNode::getWeight(), and matvec::GNode::sampled.

00136                                       {
00137                 unsigned aw = a->sampled ? 1 : a->getWeight();
00138                 unsigned bw = b->sampled ? 1 : b->getWeight();          
00139       return aw>bw;
00140     }


The documentation for this struct was generated from the following file:
Generated on Thu Jun 16 17:14:17 2005 for Matvec by doxygen1.2.16