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 
)

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 Fri Sep 19 13:05:06 2008 for ITM OverSim by  doxygen 1.5.5