|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.uu.cs.treewidth.algorithm.QuickBB<D>
public class QuickBB<D extends GraphInput.InputData>
A branch and bound algorithm for treewidth, designed by Gogate and Dechter. Sometimes, this algorithm gives an exact answer (this version); sometimes the algorithm uses much time, but can be stopped to yield an upper bound on the treewidth. Reference: A Complete Anytime Algorithm for Treewidth (Gogate and Dechter).
Constructor Summary | |
---|---|
QuickBB()
|
Method Summary | |
---|---|
java.lang.String |
getName()
Every algorithm has a name. |
NVertexOrder<D> |
getPermutation()
|
int |
getUpperBound()
Returns the upperbound. |
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 QuickBB()
Method Detail |
---|
public int getUpperBound()
UpperBound
getUpperBound
in interface UpperBound<D extends GraphInput.InputData>
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 NVertexOrder<D> getPermutation()
getPermutation
in interface Permutation<D extends GraphInput.InputData>
public void run()
Algorithm
run
in interface Algorithm<D extends GraphInput.InputData>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |