GiaTokenFactory::tokenCompareGiaNode Class Reference

#include <GiaTokenFactory.h>

List of all members.

Public Member Functions

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

Detailed Description

Definition at line 92 of file GiaTokenFactory.h.


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 May 26 16:21:17 2010 for OverSim by  doxygen 1.6.3