public class JunctionTreeCell
extends java.lang.Object
| Constructor and Description |
|---|
JunctionTreeCell()
The constructor initialise the ArrayList
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(InformationsOnCell child) |
void |
addMessage(Message message) |
boolean |
childContain(JunctionTreeCell junctionTreeCell)
Check if a precide JunctionTreeCell in include in the list of child
|
void |
createLinkWith(JunctionTreeCell cellToLink)
This method create a link between two cell.
|
Vertex |
getCurrent() |
JunctionTreeCell |
getFather() |
java.util.List<InformationsOnCell> |
getListChild() |
java.util.List<java.lang.Integer> |
getListIdChilds()
This method is used for display purposes and return the list of the
id of the child
|
java.util.List<Message> |
getListMessage() |
LocalKernel |
getLocalKernel() |
int |
getNbMessagesReceived() |
int |
getNbMessagesSent() |
void |
increseNbMessageReceived() |
void |
increseNbMessageSent() |
void |
setCurrent(Vertex current) |
void |
setFather(JunctionTreeCell Father) |
void |
setListChild(java.util.List<InformationsOnCell> Child) |
void |
setListMessage(java.util.List<Message> listMessage) |
void |
setLocalKernel(LocalKernel localKernel) |
void |
SetMessageReceivedFrom(JunctionTreeCell sender)
This method is only used for the all vertices problem.
|
void |
setNbMessagesReceived(int nbMessagesReceived) |
void |
setNbMessagesSent(int nbMessagesSent) |
public JunctionTreeCell()
public JunctionTreeCell getFather()
public int getNbMessagesSent()
public void setNbMessagesSent(int nbMessagesSent)
public void increseNbMessageSent()
public void increseNbMessageReceived()
public int getNbMessagesReceived()
public void setNbMessagesReceived(int nbMessagesReceived)
public void setFather(JunctionTreeCell Father)
public void addChild(InformationsOnCell child)
public java.util.List<InformationsOnCell> getListChild()
public void setListChild(java.util.List<InformationsOnCell> Child)
public Vertex getCurrent()
public void setCurrent(Vertex current)
public java.util.List<Message> getListMessage()
public void setListMessage(java.util.List<Message> listMessage)
public void addMessage(Message message)
public LocalKernel getLocalKernel()
public void setLocalKernel(LocalKernel localKernel)
public void SetMessageReceivedFrom(JunctionTreeCell sender)
public java.util.List<java.lang.Integer> getListIdChilds()
public boolean childContain(JunctionTreeCell junctionTreeCell)
public void createLinkWith(JunctionTreeCell cellToLink)
cellToLink - the cell which need to be linked