|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEDNetwork
public class EDNetwork
Constructor Summary | |
---|---|
EDNetwork(BayesianNetwork bn)
|
|
EDNetwork(BayesianNetwork bn,
int[][] edgesDeleted)
|
Method Summary | |
---|---|
int |
cloneVarOfEdge(int edge)
|
Table |
createNewNetworkCpt(Table oldTable,
int table)
this copies the CPT of the original network, translating it into the new domain |
int[][] |
edgesDeleted()
statistics and settings functions |
Table |
getCloneEdgeTable(int edge)
functions for parametrizing the edges of a network |
double |
getConstructionTime()
|
Table |
getPmTable(int edge)
|
Table |
getSeTable(int edge)
|
Table |
getSoftEvidenceEdgeTable(int edge)
|
Domain |
newDomain()
|
Table[] |
newTables()
|
Table |
newTableToOldTable(Table newTable)
this converts a table of the new network into a table of the old network. |
int |
newToOldVar(int var)
|
int |
newVarOfEdge(int edge)
|
Domain |
oldDomain()
|
int |
oldTableOfEdge(int edge)
|
Table[] |
oldTables()
|
IntMap |
oldToNewEvidence(IntMap e)
|
int |
oldToNewVar(int var)
Helper functions |
int |
oldVarOfEdge(int edge)
|
void |
resetTables()
|
void |
setPmTable(int edge,
Table table)
|
void |
setSeTable(int edge,
Table table)
|
int |
tableIndexOfEdgeHead(int edge)
|
int |
tableIndexOfEdgeTail(int edge)
|
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EDNetwork(BayesianNetwork bn, int[][] edgesDeleted)
public EDNetwork(BayesianNetwork bn)
Method Detail |
---|
public int[][] edgesDeleted()
public Table[] newTables()
public Table[] oldTables()
public Domain newDomain()
public Domain oldDomain()
public int oldToNewVar(int var)
public int newToOldVar(int var)
public IntMap oldToNewEvidence(IntMap e)
public int oldVarOfEdge(int edge)
public int oldTableOfEdge(int edge)
public int newVarOfEdge(int edge)
public int cloneVarOfEdge(int edge)
public int tableIndexOfEdgeHead(int edge)
public int tableIndexOfEdgeTail(int edge)
public Table createNewNetworkCpt(Table oldTable, int table)
public Table newTableToOldTable(Table newTable)
public Table getCloneEdgeTable(int edge)
public Table getSoftEvidenceEdgeTable(int edge)
public Table getPmTable(int edge)
public Table getSeTable(int edge)
public void setPmTable(int edge, Table table)
public void setSeTable(int edge, Table table)
public void resetTables()
public double getConstructionTime()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |