edu.ksu.cis.bnj.bbn.prm
Class PRMGraph

java.lang.Object
  extended bysalvo.jesus.graph.GraphImpl
      extended bysalvo.jesus.graph.DirectedGraphImpl
          extended bysalvo.jesus.graph.DirectedAcyclicGraphImpl
              extended byedu.ksu.cis.kdd.util.graph.Graph
                  extended byedu.ksu.cis.bnj.bbn.BBNGraph
                      extended byedu.ksu.cis.bnj.bbn.prm.PRMGraph
All Implemented Interfaces:
salvo.jesus.graph.DirectedAcyclicGraph, salvo.jesus.graph.DirectedGraph, salvo.jesus.graph.Graph, HasProperty, java.io.Serializable

public class PRMGraph
extends BBNGraph

PRM Graph

Author:
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.ksu.cis.bnj.bbn.BBNGraph
BIF_FORMAT, DSC_FORMAT, DSL_FORMAT, ERGO_FORMAT, HUGIN_FORMAT, LIBB_FORMAT, XBN_FORMAT, XML_FORMAT
 
Fields inherited from class edu.ksu.cis.kdd.util.graph.Graph
name, nodeTable, property
 
Fields inherited from class salvo.jesus.graph.GraphImpl
factory, traversal
 
Constructor Summary
PRMGraph()
           
PRMGraph(java.util.LinkedList list, java.lang.String networkName)
           
 
Method Summary
 void addClass(PRMClass prmClass)
           
 void addClass(PRMSchema prmSchema)
           
 void addClassList(java.util.LinkedList prmClasses)
           
 void display()
           
 java.util.LinkedList getClassList()
           
 int getNoOfNodes()
           
 int getNumberOfClasses()
           
 void setName(java.lang.String name)
          Sets the name.
 void setPRMClasses(java.util.LinkedList list)
           
 
Methods inherited from class edu.ksu.cis.bnj.bbn.BBNGraph
clearEvidenceNodes, clone, equals, getEvidenceNodes, getEvidenceTable, getQueryNodes, isModified, load, load, loadEvidence, resetNodeCaches, save, save, saveEvidence, setEvidenceNodes, setEvidenceTable, toString
 
Methods inherited from class edu.ksu.cis.kdd.util.graph.Graph
add, addEdge, addNode, addNodes, containsNode, getAdjacencyList, getEdges, getError, getName, getNode, getNodeList, getNodeNames, getNodes, getProperty, getProperty, getReverseAdjacencyList, hashCode, putProperty, remove, removeEdge, removeNode, removeProperty, setProperty
 
Methods inherited from class salvo.jesus.graph.DirectedAcyclicGraphImpl
getRoot, reverseTopologicalSort, reverseTopologicalSort, topologicalSort, topologicalSort
 
Methods inherited from class salvo.jesus.graph.DirectedGraphImpl
getEdge, getIncomingAdjacentVertices, getIncomingEdges, getOutgoingAdjacentVertices, getOutgoingEdges, isCycle, isPath
 
Methods inherited from class salvo.jesus.graph.GraphImpl
addEdge, addGraphAddEdgeListener, addGraphAddVertexListener, addGraphRemoveEdgeListener, addGraphRemoveVertexListener, addListener, cloneVertices, containsEdge, containsVertex, forgetConnectedSets, getAdjacentVertices, getAdjacentVertices, getConnectedSet, getConnectedSet, getDegree, getDegree, getEdges, getEdgesCount, getEdgeSet, getGraphFactory, getTraversal, getVertexSet, getVertices, getVerticesCount, getVerticesIterator, isConnected, removeEdge, removeEdges, removeGraphAddEdgeListener, removeGraphAddVertexListener, removeGraphRemoveEdgeListener, removeGraphRemoveVertexListener, removeListener, setGraphFactory, setTraversal, traverse
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface salvo.jesus.graph.DirectedGraph
getEdge, getIncomingAdjacentVertices, getIncomingEdges, getOutgoingAdjacentVertices, getOutgoingEdges, isCycle, isPath
 
Methods inherited from interface salvo.jesus.graph.Graph
addEdge, addGraphAddEdgeListener, addGraphAddVertexListener, addGraphRemoveEdgeListener, addGraphRemoveVertexListener, addListener, cloneVertices, getAdjacentVertices, getAdjacentVertices, getConnectedSet, getConnectedSet, getDegree, getDegree, getEdges, getEdgesCount, getEdgeSet, getGraphFactory, getTraversal, getVertexSet, getVertices, getVerticesCount, getVerticesIterator, isConnected, removeEdge, removeEdges, removeGraphAddEdgeListener, removeGraphAddVertexListener, removeGraphRemoveEdgeListener, removeGraphRemoveVertexListener, removeListener, setGraphFactory, setTraversal, traverse
 

Constructor Detail

PRMGraph

public PRMGraph()

PRMGraph

public PRMGraph(java.util.LinkedList list,
                java.lang.String networkName)
Method Detail

setPRMClasses

public void setPRMClasses(java.util.LinkedList list)

setName

public void setName(java.lang.String name)
Description copied from class: Graph
Sets the name.

Overrides:
setName in class Graph
Parameters:
name - The name to set

addClass

public void addClass(PRMClass prmClass)

addClass

public void addClass(PRMSchema prmSchema)

addClassList

public void addClassList(java.util.LinkedList prmClasses)

display

public void display()

getClassList

public java.util.LinkedList getClassList()

getNumberOfClasses

public int getNumberOfClasses()

getNoOfNodes

public int getNoOfNodes()