public class GraphNode extends Object implements GraphConstants
Modifier and Type | Field and Description |
---|---|
int[][] |
edges
The indices of nodes to which there are edges from this
node, plus the type of edge
|
String |
ID
ID and label for the node
|
String |
lbl
ID and label for the node
|
int |
nodeType
Type of node.
|
String[] |
outcomes
The outcomes for the given node
|
int[] |
prnts
The indices of parent nodes
|
double[][] |
probs
probability table for each outcome given outcomes of parents, if any
|
int |
x
The x and y position of the node
|
int |
y
The x and y position of the node
|
DIRECTED, DOUBLE, NORMAL, PLURAL_DUMMY, REVERSED, SINGULAR_DUMMY
public String ID
public String lbl
public String[] outcomes
public double[][] probs
public int x
public int y
public int[] prnts
public int[][] edges
public int nodeType
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.