public class MoralGraphCell
extends java.lang.Object
| Constructor and Description |
|---|
MoralGraphCell()
The contructor initialize the ArrayList and set initial state of other
fields
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNeighbor(MoralGraphCell newNeighbor)
This method allow to add a neighbor to the cell.
|
void |
addVariableInCell(Variable variableToAdd) |
void |
calculateNumberEdgeNeeded()
For the triangulation, an order is required in order to perform the
algorithm.
|
int |
getIdentificator() |
java.util.ArrayList<java.lang.Integer> |
getListIdNeighbors()
This method is used for display purposes and return the neighbors ID
|
java.util.ArrayList<MoralGraphCell> |
getListNeighbors() |
java.util.ArrayList<Variable> |
getListVariableinCell() |
java.util.ArrayList<java.lang.String> |
getListVariablesNeighbors()
This method is used for display purposes and return the list of the
variable in the neighbors cell's with a string format.
|
int |
getNbEdgesNeeded() |
java.util.ArrayList<java.lang.String> |
getVariablesLabelInCell()
This method is used for display purposes and return the list of the
variable in the cell with a string format.
|
boolean |
isDead() |
void |
setDead(boolean dead) |
void |
setIdentificator(int identificator) |
void |
setListNeighbors(java.util.ArrayList<MoralGraphCell> listNeighbors) |
void |
setListVariableinCell(java.util.ArrayList<Variable> listVariableinCell) |
void |
setNbEdgesNeeded(int nbEdgesNeeded) |
public MoralGraphCell()
public java.util.ArrayList<Variable> getListVariableinCell()
public void setListVariableinCell(java.util.ArrayList<Variable> listVariableinCell)
public java.util.ArrayList<MoralGraphCell> getListNeighbors()
public void setListNeighbors(java.util.ArrayList<MoralGraphCell> listNeighbors)
public boolean isDead()
public void setDead(boolean dead)
public int getIdentificator()
public void setIdentificator(int identificator)
public void addVariableInCell(Variable variableToAdd)
public int getNbEdgesNeeded()
public void setNbEdgesNeeded(int nbEdgesNeeded)
public void addNeighbor(MoralGraphCell newNeighbor)
public java.util.ArrayList<java.lang.String> getVariablesLabelInCell()
public java.util.ArrayList<java.lang.Integer> getListIdNeighbors()
public java.util.ArrayList<java.lang.String> getListVariablesNeighbors()
public void calculateNumberEdgeNeeded()