public class Vertex
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
identificator
The identificator is a number which identify every vertex, this one must
be unique, this field is set automatically during the tree creation be
gathering the identificator of the localDomain and LocalKernel in the
list 'ListLocalDomainAndLocalKernel'
|
protected LocalDomain |
localDomainInVertex
In the "The Generalized Distributive Law" of Aji & McEliece the important
information which is contain in a Vertex is the list of the variables
|
| Constructor and Description |
|---|
Vertex()
The contructor initialize the ArrayList
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIdentificator() |
LocalDomain |
getLocalDomainInVertex() |
java.util.List<java.lang.String> |
getRealVariablesLabelInVertex()
This method is used for display purposes and return the list of the
variable in the vertex with a string format.
|
java.util.List<Variable> |
getVariablesInVertex()
This method is used for display purposes and return the list of the
variable in the vertex.
|
java.util.List<java.lang.String> |
getVariablesLabelInVertex()
This method is used for display purposes and return the list of the
variable in the vertex with a string format.
|
void |
setIdentificator(int identificator) |
void |
setLocalDomain(LocalDomain localDomainInVertex) |
protected LocalDomain localDomainInVertex
protected int identificator
public int getIdentificator()
public void setIdentificator(int identificator)
public void setLocalDomain(LocalDomain localDomainInVertex)
public LocalDomain getLocalDomainInVertex()
public java.util.List<Variable> getVariablesInVertex()
public java.util.List<java.lang.String> getVariablesLabelInVertex()
public java.util.List<java.lang.String> getRealVariablesLabelInVertex()