|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnenok.lc.constr.vvll.VVLL_H
public class VVLL_H
The Variable-Valuation-Link-List (vvll) environment is used during the join tree construction process. A vvll contains:
ValuationContainer
objects.VariableContainerHeap
objects.
Constructor Summary | |
---|---|
VVLL_H(JoinTree.Construction data)
Constructor: |
Method Summary | |
---|---|
void |
addValuationContainer(ValuationContainer vc)
Adds a new valuation container to the internal valuation container list. |
int |
getHeapPosition(VariableContainerHeap cp)
Returns the position of a given element in the heap. |
List<Node> |
getValuationContainerNodes()
|
int |
getValuationContainerSize()
Returns the size of the internal valuation list. |
int |
getVariableContainerSize()
Returns the size of the internal variable list. |
boolean |
removeValuationContainer(ValuationContainer vc)
Removes a given valuation container from the internal valuation container list. |
VariableContainerHeap |
removeVariableContainer()
Removes the variable container which belongs to the variable having the lowest elimination costs. |
void |
updateHeap(int node)
Updates the inner heap structure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VVLL_H(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 VariableContainerHeap removeVariableContainer()
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 void updateHeap(int node)
node
- The heap position that changed and that has to be updated.public int getHeapPosition(VariableContainerHeap 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 |