GiaTokenFactory::tokenCompareGiaNode Class Reference

#include <GiaTokenFactory.h>

List of all members.

Public Member Functions

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


Member Function Documentation

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

00106 {
00107     if (x.getSentTokens() > y.getSentTokens())
00108         return true;
00109     if (x.getSentTokens() == y.getSentTokens())
00110         if (x.getCapacity() < y.getCapacity())
00111             return true;
00112     return false;
00113 }


The documentation for this class was generated from the following files:
Generated on Tue Jul 24 16:51:18 2007 for ITM OverSim by  doxygen 1.5.1