Algorithm.OrderingType, Algorithm.SearchType
Constructor and Description |
---|
LibTWNGraphToGraphAlgorithm() |
Modifier and Type | Method and Description |
---|---|
void |
addComputationListener(ComputationListener l)
Adds the Computation Listener
l to this algorithm. |
void |
cancelComputation()
Cancels the computation of this algorithm.
|
static Graph |
convert(String graphName,
nl.uu.cs.treewidth.ngraph.NGraph<nl.uu.cs.treewidth.input.GraphInput.InputData> nGraph)
Converts a LibTW graph (nGraph) into a (Raven) graph.
|
void |
removeComputationListener(ComputationListener l)
Removes the Computation Listener
l from this algorithm. |
public static Graph convert(String graphName, nl.uu.cs.treewidth.ngraph.NGraph<nl.uu.cs.treewidth.input.GraphInput.InputData> nGraph)
graphName
- the name of the graphnGraph
- the LibTW graph to be convertedpublic void addComputationListener(ComputationListener l)
Algorithm
l
to this algorithm.addComputationListener
in interface Algorithm
l
- the listener to receive computation eventspublic void removeComputationListener(ComputationListener l)
Algorithm
l
from this algorithm.removeComputationListener
in interface Algorithm
l
- the listener to be removedpublic void cancelComputation()
Algorithm
cancelComputation
in interface Algorithm