edu.ucla.belief.dtree
Class Dtree.DtreeComparatorHeightLowToHigh
Object
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.
Dtree.DtreeComparatorHeightLowToHigh
public Dtree.DtreeComparatorHeightLowToHigh()
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare
in interface Comparator
Copyright 2010 UCLA Automated Reasoning Group