AVIReverseComparator Struct Reference

since C++ priority_queue is a max heap, this comparator allows using C++ priority_queue as a min heap by inverting the comparison More...

#include <AVI.h>

Inheritance diagram for AVIReverseComparator:
AVIComparator

List of all members.

Public Member Functions

bool operator() (const AVI *left, const AVI *right) const

Detailed Description

since C++ priority_queue is a max heap, this comparator allows using C++ priority_queue as a min heap by inverting the comparison


Member Function Documentation

bool AVIReverseComparator::operator() ( const AVI left,
const AVI right 
) const [inline]
Returns:
true if left > right
Parameters:
left pointer to first AVI object
right pointer to second AVI object

Reimplemented from AVIComparator.


The documentation for this struct was generated from the following file:
Generated on Tue Aug 2 11:51:26 2011 for Galois by  doxygen 1.6.3