edu.ucla.belief.dtree
Class Dtree.DtreeComparatorHeightLowToHigh

Object
  extended by Dtree.DtreeComparatorHeightLowToHigh
All Implemented Interfaces:
Comparator
Enclosing class:
Dtree

public static class Dtree.DtreeComparatorHeightLowToHigh
extends Object
implements Comparator

This comparator will first sort based on height, then on hashCode, and then try a few different things before returning 0.


Constructor Summary
Dtree.DtreeComparatorHeightLowToHigh()
           
 
Method Summary
 int compare(Object o1, Object o2)
           
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Comparator
equals
 

Constructor Detail

Dtree.DtreeComparatorHeightLowToHigh

public Dtree.DtreeComparatorHeightLowToHigh()
Method Detail

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator


Copyright 2010 UCLA Automated Reasoning Group