RBNinference
Class BayesConstructor

java.lang.Object
  extended by RBNinference.BayesConstructor

public class BayesConstructor
extends java.lang.Object


Nested Class Summary
static class BayesConstructor.WeightComparator
           
 
Constructor Summary
BayesConstructor()
          Creates new BayesConstructor
BayesConstructor(Primula primula, Instantiation in, AtomList qats)
           
BayesConstructor(Primula primula, Instantiation in, AtomList qats, java.lang.String name)
           
BayesConstructor(RBN r, RelStruc rs, Instantiation in, AtomList qats)
           
BayesConstructor(RBN r, RelStruc rs, Instantiation in, AtomList qats, java.io.File bnout)
           
BayesConstructor(RBN r, RelStruc rs, Instantiation in, AtomList qats, Primula primula)
           
BayesConstructor(RBN r, RelStruc rs, Instantiation in, AtomList qats, java.lang.String name, Primula primula)
           
 
Method Summary
 boolean constructCPTNetwork(int evidencemode, int querymode, int decomposemode, int isolatedzeronodesmode, int layoutmode, int bnsystem)
           
 PFNetwork constructPFNetwork(int evidencemode, int querymode, int isolatedzeronodesmode)
           
 int getProgress()
           
 int getProgressMax()
           
static double[] makeCPT(ProbForm pform, RelStruc A, Instantiation inst, java.util.Vector parentatoms)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BayesConstructor

public BayesConstructor()
Creates new BayesConstructor


BayesConstructor

public BayesConstructor(RBN r,
                        RelStruc rs,
                        Instantiation in,
                        AtomList qats,
                        java.io.File bnout)

BayesConstructor

public BayesConstructor(RBN r,
                        RelStruc rs,
                        Instantiation in,
                        AtomList qats)

BayesConstructor

public BayesConstructor(RBN r,
                        RelStruc rs,
                        Instantiation in,
                        AtomList qats,
                        Primula primula)

BayesConstructor

public BayesConstructor(Primula primula,
                        Instantiation in,
                        AtomList qats)

BayesConstructor

public BayesConstructor(RBN r,
                        RelStruc rs,
                        Instantiation in,
                        AtomList qats,
                        java.lang.String name,
                        Primula primula)
Since:
040504

BayesConstructor

public BayesConstructor(Primula primula,
                        Instantiation in,
                        AtomList qats,
                        java.lang.String name)
Method Detail

constructPFNetwork

public PFNetwork constructPFNetwork(int evidencemode,
                                    int querymode,
                                    int isolatedzeronodesmode)
                             throws RBNCompatibilityException,
                                    RBNCyclicException,
                                    RBNIllegalArgumentException
Throws:
RBNCompatibilityException
RBNCyclicException
RBNIllegalArgumentException

constructCPTNetwork

public boolean constructCPTNetwork(int evidencemode,
                                   int querymode,
                                   int decomposemode,
                                   int isolatedzeronodesmode,
                                   int layoutmode,
                                   int bnsystem)
                            throws RBNCompatibilityException,
                                   RBNCyclicException,
                                   RBNIllegalArgumentException
Throws:
RBNCompatibilityException
RBNCyclicException
RBNIllegalArgumentException

getProgress

public int getProgress()
Since:
20060515

getProgressMax

public int getProgressMax()
Since:
20060515

makeCPT

public static double[] makeCPT(ProbForm pform,
                               RelStruc A,
                               Instantiation inst,
                               java.util.Vector parentatoms)
                        throws RBNCompatibilityException
Throws:
RBNCompatibilityException