Public Member Functions

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.

{
    if (x.info->sentTokens > y.info->sentTokens)
        return true;
    if (x.info->sentTokens == y.info->sentTokens)
        if (x.node.getCapacity() < y.node.getCapacity()) //???
            return true;
    return false;
}


The documentation for this class was generated from the following files: