haifa.shopsim.algorithms
Class LBFSPriorityAlgorithm.LBFSComparator

java.lang.Object
  |
  +--haifa.shopsim.algorithms.LBFSPriorityAlgorithm.LBFSComparator
All Implemented Interfaces:
java.util.Comparator
Enclosing class:
LBFSPriorityAlgorithm

class LBFSPriorityAlgorithm.LBFSComparator
extends java.lang.Object
implements java.util.Comparator

A comparator that is designed to compare Operation objects. Saying that operations with higher priority are lower.


Constructor Summary
(package private) LBFSPriorityAlgorithm.LBFSComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

LBFSPriorityAlgorithm.LBFSComparator

LBFSPriorityAlgorithm.LBFSComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator