|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.uu.cs.treewidth.algorithm.PreProcessor<D>
public class PreProcessor<D extends GraphInput.InputData>
Constructor Summary | |
---|---|
PreProcessor()
|
|
PreProcessor(boolean doSimplicial,
boolean doAlmostSimplicial)
|
Method Summary | |
---|---|
int |
fixTreewidth(int computedTreewidth)
Fix the calculated treewidth by taking the maximum with the lowerbound calculated during the preprocessing. |
java.lang.String |
getName()
Every algorithm has a name. |
void |
run()
Does the actual computation of the algorithm. |
void |
setInput(NGraph<D> g)
Sets the input the algorithm will run on. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreProcessor(boolean doSimplicial, boolean doAlmostSimplicial)
public PreProcessor()
Method Detail |
---|
public java.lang.String getName()
Algorithm
getName
in interface Algorithm<D extends GraphInput.InputData>
public void setInput(NGraph<D> g)
Algorithm
setInput
in interface Algorithm<D extends GraphInput.InputData>
g
- The graph in standard graph format.public void run()
Algorithm
run
in interface Algorithm<D extends GraphInput.InputData>
public int fixTreewidth(int computedTreewidth)
computedTreewidth
- The computed treewidth.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |