toxTree.tree
Class Tree2PrefuseGraph
java.lang.Object
toxTree.tree.Tree2PrefuseGraph
- All Implemented Interfaces:
- IProcessRule
public class Tree2PrefuseGraph
- extends java.lang.Object
- implements IProcessRule
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graph
protected prefuse.data.Graph graph
FIELD_ID
public static final java.lang.String FIELD_ID
- See Also:
- Constant Field Values
FIELD_SHORT_NAME
public static final java.lang.String FIELD_SHORT_NAME
- See Also:
- Constant Field Values
FIELD_NAME
public static final java.lang.String FIELD_NAME
- See Also:
- Constant Field Values
FIELD_EXPLANATION
public static final java.lang.String FIELD_EXPLANATION
- See Also:
- Constant Field Values
FIELD_NODETYPE
public static final java.lang.String FIELD_NODETYPE
- See Also:
- Constant Field Values
FIELD_CATEGORY
public static final java.lang.String FIELD_CATEGORY
- See Also:
- Constant Field Values
FIELD_ANSWER
public static final java.lang.String FIELD_ANSWER
- See Also:
- Constant Field Values
FIELD_RULE
public static final java.lang.String FIELD_RULE
- See Also:
- Constant Field Values
Tree2PrefuseGraph
public Tree2PrefuseGraph(prefuse.data.Graph graph)
done
public void done()
throws DecisionMethodIOException
- Specified by:
done
in interface IProcessRule
- Throws:
DecisionMethodIOException
init
public void init(IDecisionMethod method)
throws DecisionMethodIOException
- Specified by:
init
in interface IProcessRule
- Throws:
DecisionMethodIOException
process
public java.lang.Object process(IDecisionMethod method,
IDecisionRule rule)
throws DecisionMethodIOException
- Specified by:
process
in interface IProcessRule
- Throws:
DecisionMethodIOException
getGraph
public prefuse.data.Graph getGraph()
setGraph
public void setGraph(prefuse.data.Graph graph)
walkRules
public prefuse.data.Node walkRules(IDecisionMethod tree)
throws DecisionMethodException
- Throws:
DecisionMethodException
walkRules
protected prefuse.data.Node walkRules(IDecisionMethod tree,
IDecisionRule rule,
java.util.ArrayList<java.lang.Integer> visited)
throws DecisionMethodException
- Throws:
DecisionMethodException
Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.