public class LinearGutmanSplitStrategy extends GutmanSplitStrategy
Constructor and Description |
---|
LinearGutmanSplitStrategy(int minNumChildren,
int maxNumChildren,
BitmapFactory bf) |
Modifier and Type | Method and Description |
---|---|
Node |
pickNext(List<Node> nodes,
Node[] groups)
This algorithm is from the original paper.
|
Node[] |
pickSeeds(List<Node> nodes)
This algorithm is from the original paper.
|
needToSplit, split
public LinearGutmanSplitStrategy(int minNumChildren, int maxNumChildren, BitmapFactory bf)
public Node[] pickSeeds(List<Node> nodes)
pickSeeds
in class GutmanSplitStrategy
nodes
- - nodes to choose frompublic Node pickNext(List<Node> nodes, Node[] groups)
pickNext
in class GutmanSplitStrategy
nodes
- - remaining nodesgroups
- - the left and right groupsCopyright © 2011–2017. All rights reserved.