public class Tree2PrefuseGraph extends Object implements IProcessRule
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_ANSWER |
static String |
FIELD_CATEGORY |
static String |
FIELD_EXPLANATION |
static String |
FIELD_ID |
static String |
FIELD_NAME |
static String |
FIELD_NODETYPE |
static String |
FIELD_RULE |
static String |
FIELD_SHORT_NAME |
protected prefuse.data.Graph |
graph |
| Constructor and Description |
|---|
Tree2PrefuseGraph(prefuse.data.Graph graph) |
| Modifier and Type | Method and Description |
|---|---|
void |
done() |
prefuse.data.Graph |
getGraph() |
void |
init(IDecisionMethod method) |
Object |
process(IDecisionMethod method,
IDecisionRule rule) |
void |
setGraph(prefuse.data.Graph graph) |
prefuse.data.Node |
walkRules(IDecisionMethod tree) |
protected prefuse.data.Node |
walkRules(IDecisionMethod tree,
IDecisionRule rule,
ArrayList<Integer> visited) |
protected prefuse.data.Graph graph
public static final String FIELD_ID
public static final String FIELD_SHORT_NAME
public static final String FIELD_NAME
public static final String FIELD_EXPLANATION
public static final String FIELD_NODETYPE
public static final String FIELD_CATEGORY
public static final String FIELD_ANSWER
public static final String FIELD_RULE
public void done()
throws DecisionMethodIOException
done in interface IProcessRuleDecisionMethodIOExceptionpublic void init(IDecisionMethod method) throws DecisionMethodIOException
init in interface IProcessRuleDecisionMethodIOExceptionpublic Object process(IDecisionMethod method, IDecisionRule rule) throws DecisionMethodIOException
process in interface IProcessRuleDecisionMethodIOExceptionpublic prefuse.data.Graph getGraph()
public void setGraph(prefuse.data.Graph graph)
public prefuse.data.Node walkRules(IDecisionMethod tree) throws DecisionMethodException
DecisionMethodExceptionprotected prefuse.data.Node walkRules(IDecisionMethod tree, IDecisionRule rule, ArrayList<Integer> visited) throws DecisionMethodException
DecisionMethodExceptionCopyright © 2004–2018 Ideaconsult Ltd. All rights reserved.