Implemented getClassificationTreeAsType(distance) and
getClassificationTreeAsType(min, max)