**/
int fromLength;
- public Node() {
-
- }
-
/**
* Constructor for a node with given `degree'. The value of the
* node is initialized to a random value.
* by this node.
**/
public void updateFromNodes(Random rand)
- {
+ {
for (int i = 0; i < toNodes.length; i++) {
Node otherNode = toNodes[i];
int count = otherNode.fromLength++;