edu.uci.ics.jung.visualization.spatial.rtree.Splitter Maven / Gradle / Ivy
package edu.uci.ics.jung.visualization.spatial.rtree;
import java.awt.geom.Rectangle2D;
import java.util.List;
import java.util.Optional;
/**
* interface for classes that hold semantics for R-Tree and R*-Tree
*
* @author Tom Nelson
* @param the type of element stored in the RTree
*/
public interface Splitter {
Pair> split(List> children, Node newEntry);
Optional> chooseSubtree(InnerNode nodeToSplit, T element, Rectangle2D bounds);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy