Package | Description |
---|---|
de.unihalle.informatik.Alida.demo |
Demonstrator package of how to implement and use Alida operators.
|
de.unihalle.informatik.Alida.operator |
Contains the core of Alida, i.e. the operator concept and processing graph stuff.
|
de.unihalle.informatik.Alida.workflows |
Classes related to workflows in Alida.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CorrectForBaseline1D.operate() |
protected void |
ApplyToMatrix.operate() |
protected void |
DetectBaseline1D.operate() |
protected void |
WriteExtrema1D.operate() |
protected void |
DemoWorkflow1D.operate() |
Modifier and Type | Method and Description |
---|---|
private org.graphdrawing.graphml.xmlns.NodeType |
ALDProcessingDAG.addDataPortToGraphml(org.graphdrawing.graphml.xmlns.GraphType graph,
ALDDataPort dataport)
Add a data port to the graphML graph
|
private void |
ALDProcessingDAG.addEdge(org.graphdrawing.graphml.xmlns.GraphType graph,
ALDPort sourcePort,
ALDPort targetPort,
int idx)
Add an graphml edge to
graph with index idx |
private void |
ALDProcessingDAG.addGraphmlHistory(org.graphdrawing.graphml.xmlns.GraphType graph,
ALDDataPort dataport)
Add the complete history of an object represented by a data port,
which was read from a graphml file, to a graph object.
|
private org.graphdrawing.graphml.xmlns.NodeType |
ALDProcessingDAG.addOpNodePortToGraphml(org.graphdrawing.graphml.xmlns.GraphType graph,
ALDOpNodePort port)
Add a opNode port object to the graphML graph
|
org.graphdrawing.graphml.xmlns.GraphmlDocument |
ALDProcessingDAG.createGraphmlDocument(Object sourceObjOfHistory)
Create the processing history for
sourceObjOfHistory and convert to graphml object. |
org.graphdrawing.graphml.xmlns.GraphmlDocument |
ALDProcessingDAG.createGraphmlDocument(Object sourceObjOfHistory,
ALDProcessingDAG.HistoryType historyType)
Create the processing history for
sourceObjOfHistory and convert to graphml object. |
org.graphdrawing.graphml.xmlns.GraphmlDocument |
ALDProcessingDAG.createGraphmlDocument(Object sourceObjOfHistory,
ALDProcessingDAG.HistoryType historyType,
boolean ignoreHiding)
Create the processing history for
sourceObjOfHistory and convert to graphml object. |
private void |
ALDProcessingDAG.fatal(String msg)
Output fatal error to stderr and throw an exception
|
private void |
ALDProcessingDAG.findSibblingsAndParent(ALDOpNode opNode,
Vector<ALDInputPort> inputPorts,
int depth)
Find all sibblings and the parent of opNode.
|
private String |
ALDProcessingDAG.getPortId(ALDPort p)
Return an ID used in graphml for a port
|
private void |
ALDProcessingDAG.handleInputPorts(ALDOpNode parentOpNode,
Vector<ALDInputPort> inputPorts,
Vector<ALDInputPort> parentsInputports,
LinkedList<ALDOutputPort> outputPortToTraceback)
Trace back each port of inputPorts which are input ports of a child of parentOpNode.
|
private void |
ALDProcessingDAG.handlePort(ALDOpNode opNode,
ALDPort port)
Handle a port to register the incoming edge and to potentially register dataport to opNode.
|
protected abstract void |
ALDOperator.operate()
This method does the actual work and needs to be implemented by every
subclass.
|
private void |
ALDProcessingDAG.outputOpNode(ALDOpNode opNode,
org.graphdrawing.graphml.xmlns.GraphType graph)
Output
opNode and it ports, and recursively its children to the graph . |
void |
ALDOperator.runOp()
A legal method to invoke the operator and handles everything necessary to
protocol the processing history.
|
void |
ALDOperator.runOp(ALDOperator.HidingMode hidingMode)
A legal method to invoke the operator and handles everything necessary to
protocol the processing history.
|
void |
ALDOperator.runOp(boolean hidden)
A legal method to invoke the operator and handles everything necessary to
protocol the processing history.
|
private void |
ALDProcessingDAG.tracebackDAG(Object sourceObjOfHistory)
Trace back the implicit DAG created during processing for sourceObjOfHistory.
|
private Vector<ALDInputPort> |
ALDProcessingDAG.visitOpNode(ALDOpNode opNode,
ALDOutputPort portOfInterest,
int depth)
Visit the opNode either completely or according to data dependency as define by the opNode
and the globale state of the processing DAG.
|
private Vector<ALDInputPort> |
ALDProcessingDAG.visitOpNodeComplete(ALDOpNode opNode,
int depth)
Completely visits this opNode.
|
private Vector<ALDInputPort> |
ALDProcessingDAG.visitOpNodeDatadependency(ALDOpNode opNode,
ALDOutputPort portOfInterest,
int depth)
Visit the opNode detecting all inner children and data ports on which
the output port of interest portOfInterest depends on.
|
protected void |
ALDPortHashAccess.writeHistory(Object obj,
String filename)
Deprecated.
|
static void |
ALDOperator.writeHistory(Object obj,
String filename)
Write the processing history if any to a graphml file.
|
protected void |
ALDPortHashAccess.writeHistory(Object obj,
String filename,
ALDProcessingDAG.HistoryType historyType)
Deprecated.
|
static void |
ALDOperator.writeHistory(Object obj,
String filename,
ALDProcessingDAG.HistoryType historyType)
Write the processing history if any to a graphml file.
|
protected void |
ALDPortHashAccess.writeHistory(Object obj,
String filename,
ALDProcessingDAG.HistoryType historyType,
boolean ignoreHiding)
Write the processing history (if available) to a graphml file.
|
static void |
ALDOperator.writeHistory(Object obj,
String filename,
ALDProcessingDAG.HistoryType historyType,
boolean ignoreHiding)
Write the processing history if any to a graphml file.
|
Modifier and Type | Method and Description |
---|---|
private static void |
ALDWorkflow.executeNode(ALDWorkflow workflow,
ALDWorkflowNode node,
boolean showResults)
This actually runOps the operator in its own thread
and takes care of firing events for state changes.
|
protected void |
ALDWorkflow.operate() |
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.