|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.uu.cs.treewidth.algorithm.MaximumMinimumDegreePlusMaxD<D>
public class MaximumMinimumDegreePlusMaxD<D extends GraphInput.InputData>
The MMD+Max-d: Maximum Minimum Degree Plus max-d: gives the maximum over the minimum degrees of the vertices in the graph. It contracts the choosen vertex with the neighbour with maximum degree Reference: Treewidth: Computational Experiments (Koster, Bodlaender, and van Hoesel)
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface nl.uu.cs.treewidth.algorithm.LowerBound |
---|
LowerBound.Creator |
Constructor Summary | |
---|---|
MaximumMinimumDegreePlusMaxD()
Starts out as a lowerbound of -infty; improved to the mindegree lowerbound once run() is called. |
Method Summary | |
---|---|
int |
getLowerBound()
|
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 MaximumMinimumDegreePlusMaxD()
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 getLowerBound()
getLowerBound
in interface LowerBound<D extends GraphInput.InputData>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |