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, splitpublic LinearGutmanSplitStrategy(int minNumChildren,
int maxNumChildren,
BitmapFactory bf)
public Node[] pickSeeds(List<Node> nodes)
pickSeeds in class GutmanSplitStrategynodes - - nodes to choose frompublic Node pickNext(List<Node> nodes, Node[] groups)
pickNext in class GutmanSplitStrategynodes - - remaining nodesgroups - - the left and right groupsCopyright © 2011–2017. All rights reserved.