GiaTokenFactory::tokenCompareGiaNode Class Reference

#include <GiaTokenFactory.h>

List of all members.

Public Member Functions

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


Member Function Documentation

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

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


The documentation for this class was generated from the following files:
Generated on Thu Apr 17 13:19:29 2008 for ITM OverSim by  doxygen 1.5.3