|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnenok.constr.vvll.VVLL_A
public class VVLL_A
The Variable-Valuation-Link-List (vvll) environment is used during the join tree construction process. A vvll contains:
ValuationContainer
objects.VariableContainer
objects.
Constructor Summary | |
---|---|
VVLL_A(JoinTree.Construction data)
Constructor: |
Method Summary | |
---|---|
void |
addValuationContainer(ValuationContainer vc)
Adds a new valuation container to the internal valuation container list. |
int |
getPosition(Comparable cp)
Returns the position of a given element in the heap. |
List<Node> |
getValuationContainerNodes()
|
int |
getValuationContainerSize()
|
int |
getVariableContainerSize()
|
boolean |
removeValuationContainer(ValuationContainer vc)
Removes a given valuation container from the internal valuation container list. |
VariableContainer |
removeVariableContainer(Variable var)
Removes the variable container which belongs to the variable having the lowest elimination costs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VVLL_A(JoinTree.Construction data)
data
- Object containing necessary informations for the join tree construction process.Method Detail |
---|
public void addValuationContainer(ValuationContainer vc)
vc
- The valuation container to add.public VariableContainer removeVariableContainer(Variable var)
var
- The variable whose container has to be removed.
public boolean removeValuationContainer(ValuationContainer vc)
vc
- The valuation container to remove.
true
, if the given valuation container existed.public int getValuationContainerSize()
public int getVariableContainerSize()
public int getPosition(Comparable cp)
cp
- The element whose position is asked.
public List<Node> getValuationContainerNodes()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |