de.unihalle.informatik.Alida.operator
Class ALDProcessingDAG

java.lang.Object
  extended by de.unihalle.informatik.Alida.operator.ALDProcessingDAG

public class ALDProcessingDAG
extends java.lang.Object

This class handles the construction of a processing DAG from opNode instances and writing this processing history as extended graphml to file.


Nested Class Summary
static class ALDProcessingDAG.HistoryType
          Type of the processing history to be generated.
 
Field Summary
static char idSeparator
          Character separating graphId prefix from rest
 
Constructor Summary
ALDProcessingDAG()
           
 
Method Summary
 org.graphdrawing.graphml.xmlns.GraphmlDocument createGraphmlDocument(java.lang.Object sourceObjOfHistory)
          Create the processing history for sourceObjOfHistory and convert to graphml object.
 org.graphdrawing.graphml.xmlns.GraphmlDocument createGraphmlDocument(java.lang.Object sourceObjOfHistory, ALDProcessingDAG.HistoryType historyType)
          Create the processing history for sourceObjOfHistory and convert to graphml object.
 org.graphdrawing.graphml.xmlns.GraphmlDocument createGraphmlDocument(java.lang.Object sourceObjOfHistory, ALDProcessingDAG.HistoryType historyType, boolean ignoreHiding)
          Create the processing history for sourceObjOfHistory and convert to graphml object.
static boolean getDebug()
          Return the debug state
static void setDebug(boolean value)
          Set the debug state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

idSeparator

public static final char idSeparator
Character separating graphId prefix from rest

See Also:
Constant Field Values
Constructor Detail

ALDProcessingDAG

public ALDProcessingDAG()
Method Detail

setDebug

public static void setDebug(boolean value)
Set the debug state

Parameters:
value - New debug state

getDebug

public static boolean getDebug()
Return the debug state

Returns:
Current debug state

createGraphmlDocument

public org.graphdrawing.graphml.xmlns.GraphmlDocument createGraphmlDocument(java.lang.Object sourceObjOfHistory)
                                                                     throws ALDProcessingDAGException
Create the processing history for sourceObjOfHistory and convert to graphml object. The complete history according is created. This method is equivalent to createGraphmlDocument( sourceObjOfHistory, HistoryType.COMPLETE, false).

Parameters:
sourceObjOfHistory - for which the processing history to be created.
Returns:
Processing history as graphml object or null if no history is available.
Throws:
ALDProcessingDAGException

createGraphmlDocument

public org.graphdrawing.graphml.xmlns.GraphmlDocument createGraphmlDocument(java.lang.Object sourceObjOfHistory,
                                                                            ALDProcessingDAG.HistoryType historyType)
                                                                     throws ALDProcessingDAGException
Create the processing history for sourceObjOfHistory and convert to graphml object. This method is equivalent to createGraphmlDocument( sourceObjOfHistory, historyType, false).

Parameters:
sourceObjOfHistory - for which the processing history to be written.
historyType - type/moude of history to be created.
Returns:
Processing history as graphml object or null if no history is available.
Throws:
ALDProcessingDAGException

createGraphmlDocument

public org.graphdrawing.graphml.xmlns.GraphmlDocument createGraphmlDocument(java.lang.Object sourceObjOfHistory,
                                                                            ALDProcessingDAG.HistoryType historyType,
                                                                            boolean ignoreHiding)
                                                                     throws ALDProcessingDAGException
Create the processing history for sourceObjOfHistory and convert to graphml object.

Parameters:
sourceObjOfHistory - for which the processing history to be written.
historyType - type/mode of history to be created.
ignoreHiding - if true hiding of opnodes is ignores, i.e. all opnodes added to the history.
Returns:
Processing history as graphml object or null if no history is available.
Throws:
ALDProcessingDAGException


Copyright © 2010-2014 Martin Luther University Halle-Wittenberg. All Rights Reserved.