|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectunbbayes.prs.bn.Clique
public class Clique
Classe que representa um Clique na ÔøΩrvore de JunÔøΩÔøΩo (JunctionTree).
| Constructor Summary | |
|---|---|
Clique()
ConstrÔøΩi um novo clique. |
|
| Method Summary | |
|---|---|
void |
addChild(Clique child)
Adiciona um filho no final da lista de filhos. |
ArrayList<Node> |
getAssociatedProbabilisticNodes()
Retorna o vetor de nÔøΩs probabilÔøΩsticos associados. |
ArrayList<Node> |
getAssociatedUtilityNodes()
Retorna o vetor de nÔøΩs de utilidade associados. |
Clique |
getChildAt(int index)
Retorna o filho na posiÔøΩÔøΩo especificada. |
int |
getChildrenSize()
Retorna o tamanho da lista de filhos. |
int |
getIndex()
Retorna o ÔøΩndice associado ao clique. |
ArrayList<Node> |
getNodes()
Retorna o vetor de nÔøΩs clusterizados. |
Clique |
getParent()
Returns the parent. |
PotentialTable |
getProbabilityFunction()
Retorna a tabela de potencial. |
PotentialTable |
getUtilityTable()
Retorna a tabela de utilidade associada ao clique. |
float |
normalize()
Normaliza um clique da ÔøΩrvore. |
void |
removeChild(Clique c)
Remove the specified children |
void |
setIndex(int indice)
Muda o ÔøΩndice do clique. |
void |
setParent(Clique pai)
Seta o pai deste clique |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Clique()
| Method Detail |
|---|
public float normalize()
throws Exception
ok - vetor boolean de tamanho 1 para passar parametro por referÔøΩncia.
Exceptionpublic void setParent(Clique pai)
pai - o pai do cliquepublic int getIndex()
public void setIndex(int indice)
indice - frag que indica o status de associaÔøΩÔøΩopublic int getChildrenSize()
public void addChild(Clique child)
child - filho a ser inserido.public void removeChild(Clique c)
c - the clique to remove from the children's listpublic Clique getChildAt(int index)
public ArrayList<Node> getNodes()
public ArrayList<Node> getAssociatedProbabilisticNodes()
public ArrayList<Node> getAssociatedUtilityNodes()
public PotentialTable getProbabilityFunction()
getProbabilityFunction in interface IRandomVariablepublic PotentialTable getUtilityTable()
public Clique getParent()
public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||