il2.inf.edgedeletion
Class EDNetwork

Object
  extended by EDNetwork

public class EDNetwork
extends Object


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

EDNetwork

public EDNetwork(BayesianNetwork bn,
                 int[][] edgesDeleted)

EDNetwork

public EDNetwork(BayesianNetwork bn)
Method Detail

edgesDeleted

public int[][] edgesDeleted()
statistics and settings functions


newTables

public Table[] newTables()

oldTables

public Table[] oldTables()

newDomain

public Domain newDomain()

oldDomain

public Domain oldDomain()

oldToNewVar

public int oldToNewVar(int var)
Helper functions


newToOldVar

public int newToOldVar(int var)

oldToNewEvidence

public IntMap oldToNewEvidence(IntMap e)

oldVarOfEdge

public int oldVarOfEdge(int edge)

oldTableOfEdge

public int oldTableOfEdge(int edge)

newVarOfEdge

public int newVarOfEdge(int edge)

cloneVarOfEdge

public int cloneVarOfEdge(int edge)

tableIndexOfEdgeHead

public int tableIndexOfEdgeHead(int edge)

tableIndexOfEdgeTail

public int tableIndexOfEdgeTail(int edge)

createNewNetworkCpt

public Table createNewNetworkCpt(Table oldTable,
                                 int table)
this copies the CPT of the original network, translating it into the new domain


newTableToOldTable

public Table newTableToOldTable(Table newTable)
this converts a table of the new network into a table of the old network. Since ordering of new vars and clones is consistent with the ordering of the old vars, simply copy the values of the new table into a constructed old table.


getCloneEdgeTable

public Table getCloneEdgeTable(int edge)
functions for parametrizing the edges of a network


getSoftEvidenceEdgeTable

public Table getSoftEvidenceEdgeTable(int edge)

getPmTable

public Table getPmTable(int edge)

getSeTable

public Table getSeTable(int edge)

setPmTable

public void setPmTable(int edge,
                       Table table)

setSeTable

public void setSeTable(int edge,
                       Table table)

resetTables

public void resetTables()

getConstructionTime

public double getConstructionTime()


Copyright 2010 UCLA Automated Reasoning Group