GiaTokenFactory::tokenCompareGiaNode Class Reference

#include <GiaTokenFactory.h>

List of all members.


Detailed Description

Definition at line 92 of file GiaTokenFactory.h.


Public Member Functions

bool operator() (const FullGiaNodeInfo &x, const FullGiaNodeInfo &y)

Member Function Documentation

bool GiaTokenFactory::tokenCompareGiaNode::operator() ( const FullGiaNodeInfo &  x,
const FullGiaNodeInfo &  y 
)

Definition at line 120 of file GiaTokenFactory.cc.

00122 {
00123     if (x.info->sentTokens > y.info->sentTokens)
00124         return true;
00125     if (x.info->sentTokens == y.info->sentTokens)
00126         if (x.node.getCapacity() < y.node.getCapacity()) //???
00127             return true;
00128     return false;
00129 }


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

Generated on Wed Mar 25 16:32:52 2009 for OverSim by  doxygen 1.5.5