public class ALDOpNode extends Object
Modifier and Type | Field and Description |
---|---|
private static Vector<ALDOpNode> |
allInstances |
private Vector<ALDOpNode> |
children
children of this opNode, will be set during back tracing
|
private static boolean |
collectInstances
if true all instances of ALDOpNode will be collected in a
static Vector.
|
(package private) boolean |
completeDAG
This opnode prefers a complete DAG to constructed for its invocation.
|
private int |
depth
depth in calling stack of Operators, set when back tracing
|
private Vector<ALDOpNode> |
directlyRegisteredChildren
children of this opNode, set when the
operate()
represented by this opNode calls nested operators. |
(package private) ALDOperator.HidingMode |
hidingMode
Hiding mode of this opnode in the processing history.
|
private Vector<ALDDataPort> |
includedData
ALDDataPorts created within this opNode, set during back tracing
|
private ALDInputPort[] |
inputPorts
the input ports of this opNode.
|
private String |
name
name of the operator for which an invocations is represented by this opNode
|
(package private) ALDOperator |
op |
private Class<? extends ALDOperator> |
operatorClass
class of the operator for which an invocations is represented by this opNode
|
private ALDOutputPort[] |
outputPorts
the output ports of this opNode.
|
private Hashtable<String,String> |
parameterHash
This hash contains the values of all parameters as return by the
toString()
method of the parameters at the time of invocation of the operator using runOp() . |
private org.apache.xmlbeans.XmlObject |
parameterHashAsXml
parameteHash as an XmlObject
|
private ALDOpNode |
parent
parent of this opNode, will be set during back tracing
|
private String |
version
version of the operator for which an invocations is represented by this opNode
|
Constructor and Description |
---|
ALDOpNode(ALDOperator op,
ALDOperator.HidingMode hidingMode)
Construct an
ALDOpNode for the operator op and hidingMode |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addChild(ALDOpNode opNode)
Add a child found during back tracing.
|
(package private) void |
addData(ALDDataPort data)
Add a data port found during back tracing.
|
(package private) void |
addDirectChild(ALDOpNode opNode)
Add a directly registered child during invocation.
|
(package private) static Vector<ALDOpNode> |
getAllInstances() |
protected Vector<ALDOpNode> |
getChildren()
Get the all opNode children found during back tracing.
|
int |
getDepth()
Get depth.
|
protected Vector<ALDOpNode> |
getDirectlyRegisteredChildern()
Get the all
opNode children directly registered during invocation. |
ALDOperator.HidingMode |
getHidingMode()
Get hiding mode of this opNode.
|
protected Vector<ALDDataPort> |
getIncludedData()
Get all included data ports found during back tracing.
|
ALDPort |
getInputPort(int i)
Get input port with index i of this opNode.
|
protected ALDInputPort[] |
getInputPorts()
Get all input ports of this opNode.
|
String |
getName()
Get the name of the operator represented by this opNode.
|
Class<? extends ALDOperator> |
getOperatorClass()
Get the class object of the operator represented by this opNode.
|
ALDOutputPort |
getOutputPort(int i)
Get output port with index i of this opNode.
|
protected ALDOutputPort[] |
getOutputPorts()
Get all output ports of this opNode.
|
String |
getParameter(String key)
Get value of parameter for given key.
|
org.apache.xmlbeans.XmlObject |
getParameterHashAsXml()
Get the parameter hash where values of parameters.
|
Enumeration<String> |
getParameterKeys()
Get all keys of the parameter hash.
|
ALDOpNode |
getParent()
Get the parent opNode.
|
String |
getVersion()
Get the software version.
|
void |
print()
Print information if this opNode to standard output.
|
static void |
printInstanceStatistics() |
static void |
printInstanceStatistics(PrintStream stream) |
(package private) void |
setDepth(int depth)
Set depth.
|
void |
setHidden(ALDOperator.HidingMode hidingMode)
Set hidden flag of this opNode.
|
(package private) void |
setInOrigin(int i,
Object obj,
String explanation)
Set the origin of the input port with index i.
|
(package private) void |
setOutOrigin(int i,
Object obj,
String explanation)
Set the origin of the output port with index i.
|
void |
setParent(ALDOpNode parent)
Set the parent opNode.
|
ALDOperator op
private ALDInputPort[] inputPorts
private ALDOutputPort[] outputPorts
private final String name
private final String version
private final Class<? extends ALDOperator> operatorClass
ALDOperator.HidingMode hidingMode
final boolean completeDAG
private Hashtable<String,String> parameterHash
toString()
method of the parameters at the time of invocation of the operator using runOp()
.private org.apache.xmlbeans.XmlObject parameterHashAsXml
private ALDOpNode parent
private Vector<ALDOpNode> children
private Vector<ALDOpNode> directlyRegisteredChildren
operate()
represented by this opNode
calls nested operators.private int depth
private Vector<ALDDataPort> includedData
private static boolean collectInstances
public ALDOpNode(ALDOperator op, ALDOperator.HidingMode hidingMode)
ALDOpNode
for the operator op
and hidingMode
op
- Operator to instatiate an opnode forhidingMode
- hiding mode within processing historypublic String getName()
public String getVersion()
public Class<? extends ALDOperator> getOperatorClass()
void setDepth(int depth)
public int getDepth()
void addChild(ALDOpNode opNode)
opNode
- child to addvoid addDirectChild(ALDOpNode opNode)
opNode
- child to addvoid addData(ALDDataPort data)
public ALDPort getInputPort(int i)
public ALDOutputPort getOutputPort(int i)
void setInOrigin(int i, Object obj, String explanation)
i
- index of the input portobj
- object to assiciate with the portexplanation
- explnatory string of portvoid setOutOrigin(int i, Object obj, String explanation)
i
- index of the input portobj
- object to assiciate with the portexplanation
- explnatory string of portpublic void setParent(ALDOpNode parent)
public ALDOpNode getParent()
protected Vector<ALDOpNode> getChildren()
protected Vector<ALDOpNode> getDirectlyRegisteredChildern()
opNode
children directly registered during invocation.protected Vector<ALDDataPort> getIncludedData()
protected ALDInputPort[] getInputPorts()
protected ALDOutputPort[] getOutputPorts()
public Enumeration<String> getParameterKeys()
public void setHidden(ALDOperator.HidingMode hidingMode)
opNode
to be included into a processing
history as explicitly constructed.public ALDOperator.HidingMode getHidingMode()
public org.apache.xmlbeans.XmlObject getParameterHashAsXml()
public void print()
public static void printInstanceStatistics()
public static void printInstanceStatistics(PrintStream stream)
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.