Class AbstractSplitter<T>
- java.lang.Object
- 
- org.jungrapht.visualization.spatial.rtree.AbstractSplitter<T>
 
- 
- Type Parameters:
- T-
 - Direct Known Subclasses:
- QuadraticSplitter,- RStarSplitter
 
 public abstract class AbstractSplitter<T> extends Object holds implementations of several ways to determine the best node to follow for insertion in the R-Tree- Author:
- Tom Nelson
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractSplitter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<Node<T>>leastEnlargementThenAreaThenKids(InnerNode<T> nodeToSplit, Rectangle2D incoming)least area enlargement followed by smallest area followed by fewest child nodesprotected Optional<Node<T>>leastOverlapThenEnlargementThenAreaThenKids(InnerNode<T> nodeToSplit, Rectangle2D bounds)least overlap then least area enlargement followed by smallest area followed by fewest kids
 
- 
- 
- 
Method Detail- 
leastEnlargementThenAreaThenKidsprotected Optional<Node<T>> leastEnlargementThenAreaThenKids(InnerNode<T> nodeToSplit, Rectangle2D incoming) least area enlargement followed by smallest area followed by fewest child nodes- Parameters:
- nodeToSplit- the node to split
- incoming- the bounds of the new element
- Returns:
- the node to split
 
 - 
leastOverlapThenEnlargementThenAreaThenKidsprotected Optional<Node<T>> leastOverlapThenEnlargementThenAreaThenKids(InnerNode<T> nodeToSplit, Rectangle2D bounds) least overlap then least area enlargement followed by smallest area followed by fewest kids- Parameters:
- nodeToSplit- the node to split
- bounds- the rectangular bounds to split
- Returns:
- the node that was selected to split
 
 
- 
 
-