RBNinference
Class BayesNetIntHuginNet

java.lang.Object
  extended by RBNinference.BayesNetIntHuginNet
All Implemented Interfaces:
BayesNetInt
Direct Known Subclasses:
BayesNetIntSamIam

public class BayesNetIntHuginNet
extends java.lang.Object
implements BayesNetInt


Constructor Summary
protected BayesNetIntHuginNet()
           
  BayesNetIntHuginNet(java.io.File filename)
          Creates new BayesNetIntHuginNet
 
Method Summary
 void addNode(SimpleBNNode node, int[] coords, int truthval)
          Add node to the network.
 void addNode(SimpleBNNode node, int xoffset, int truthval)
           
static java.lang.String makeIDFromDisplayName(java.lang.String displayName)
           
static java.lang.String makeNetName(java.lang.String oldname)
           
 void open()
           
protected  void writeTruthValue(int truthval)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BayesNetIntHuginNet

public BayesNetIntHuginNet(java.io.File filename)
Creates new BayesNetIntHuginNet


BayesNetIntHuginNet

protected BayesNetIntHuginNet()
Since:
20040409
Method Detail

makeNetName

public static java.lang.String makeNetName(java.lang.String oldname)

makeIDFromDisplayName

public static java.lang.String makeIDFromDisplayName(java.lang.String displayName)
Since:
20060609

writeTruthValue

protected void writeTruthValue(int truthval)
                        throws java.io.IOException
Throws:
java.io.IOException
Since:
20040413

addNode

public void addNode(SimpleBNNode node,
                    int xoffset,
                    int truthval)
Specified by:
addNode in interface BayesNetInt

addNode

public void addNode(SimpleBNNode node,
                    int[] coords,
                    int truthval)
Description copied from interface: BayesNetInt
Add node to the network. Place node at coordinates coords (if concrete BNS supports such placement)

Specified by:
addNode in interface BayesNetInt

open

public void open()
Specified by:
open in interface BayesNetInt