TokenFactory::tokenCompareGiaNode Class Reference

#include <TokenFactory.h>

List of all members.

Public Member Functions

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


Member Function Documentation

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

00109 {
00110     if (x.getSentTokens() > y.getSentTokens())
00111         return true;
00112     if (x.getSentTokens() == y.getSentTokens())
00113         if (x.getCapacity() < y.getCapacity())
00114             return true;
00115     return false;
00116 }


The documentation for this class was generated from the following files:
Generated on Wed Apr 4 13:37:07 2007 for ITM OverSim by  doxygen 1.4.7