public class ExpImprLabelPair<T> extends java.lang.Object implements ExpImprLabelSetI<T>
Constructor and Description |
---|
ExpImprLabelPair() |
ExpImprLabelPair(T[] nodeAs,
T nodeB) |
ExpImprLabelPair(T taskA,
T taskB) |
Modifier and Type | Method and Description |
---|---|
T |
getMinimalSharedParent() |
java.util.Set<T> |
getNodeAs() |
T |
getNodeB() |
java.util.Map<T,java.util.List<T>> |
getPathToA() |
java.util.List<T> |
getPathToB() |
java.util.List<T> |
getPathToRoot() |
void |
setMinimalSharedParent(T minimalSharedParent) |
void |
setNodeA(java.util.Set<T> node) |
void |
setNodeA(T nodeA)
This function clears the current set of nodes and adds nodeA to the empty
set.
|
void |
setNodeB(T nodeB) |
void |
setPathToA(T a,
java.util.List<T> pathToA) |
void |
setPathToB(java.util.List<T> pathToB) |
void |
setPathToRoot(java.util.List<T> pathToRoot) |
public java.util.Set<T> getNodeAs()
getNodeAs
in interface ExpImprLabelSetI<T>
public void setNodeA(T nodeA)
nodeA
- public void setNodeA(java.util.Set<T> node)
public T getNodeB()
getNodeB
in interface ExpImprLabelSetI<T>
public void setNodeB(T nodeB)
public T getMinimalSharedParent()
getMinimalSharedParent
in interface ExpImprLabelSetI<T>
public void setMinimalSharedParent(T minimalSharedParent)
public java.util.Map<T,java.util.List<T>> getPathToA()
getPathToA
in interface ExpImprLabelSetI<T>
public java.util.List<T> getPathToB()
getPathToB
in interface ExpImprLabelSetI<T>
public void setPathToB(java.util.List<T> pathToB)
public java.util.List<T> getPathToRoot()
getPathToRoot
in interface ExpImprLabelSetI<T>
public void setPathToRoot(java.util.List<T> pathToRoot)