public static class NetworkOrganizer.VirtualNode extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
counter |
protected Map<Character,NetworkOrganizer.VirtualNode> |
nodes |
protected Character |
ownChar |
protected NetworkOrganizer.VirtualNode |
parentNode |
| Constructor and Description |
|---|
VirtualNode(Character character,
NetworkOrganizer.VirtualNode parentNode) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getCounter() |
protected int |
getDiscriminatedCount() |
protected NetworkOrganizer.VirtualNode |
getHottestNode() |
protected NetworkOrganizer.VirtualNode |
getHottestNode(int threshold)
This method returns most popular sub-node
|
protected int |
getNumDivergents() |
void |
map(String[] chars,
int position) |
protected String |
rewind() |
protected Map<Character,NetworkOrganizer.VirtualNode> nodes
protected final Character ownChar
protected int counter
protected NetworkOrganizer.VirtualNode parentNode
public VirtualNode(Character character, NetworkOrganizer.VirtualNode parentNode)
public void map(String[] chars, int position)
protected int getNumDivergents()
protected int getDiscriminatedCount()
protected int getCounter()
protected NetworkOrganizer.VirtualNode getHottestNode(int threshold)
protected NetworkOrganizer.VirtualNode getHottestNode()
protected String rewind()
Copyright © 2017. All rights reserved.