public class TopChoiceSelector extends GroupSelector
| Modifier and Type | Field and Description |
|---|---|
private Vector |
bestChildren |
private int |
bestLevel |
private int |
bestParent |
private int[] |
firstChild |
conservative, counts, next| Constructor and Description |
|---|
TopChoiceSelector() |
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Flush any queued groups
|
void |
process(int group)
Process the next group
|
void |
reset(boolean conservative)
Reset the selector
|
String |
toString()
Get a string representation
|
setCounts, setNextprivate int bestLevel
private int bestParent
private Vector bestChildren
private int[] firstChild
public void reset(boolean conservative)
GroupSelectorreset in class GroupSelectorpublic void process(int group)
GroupSelectorprocess in class GroupSelectorpublic void flush()
GroupSelectorflush in class GroupSelectorpublic String toString()
GroupSelectortoString in class GroupSelector