@Override
        public boolean equals(Object obj) {
            if (!(obj instanceof Edge)) {
                return false;
            }
            return destination == ((Edge) obj).destination;
        }
Collapses vertices until the cost exceeds the given value.

Collapse cost indicates how much inaccuracy the
reduction causes. This generates the best LOD output, but the collapse
cost is implementation-dependant.
jme3-core/src/tools/java/jme3tools/optimize/LodGenerator.java