pt.tumba.ngram.bayes
Class QuasiBayesNet

java.lang.Object
  extended by pt.tumba.ngram.bayes.BayesNet
      extended by pt.tumba.ngram.bayes.QuasiBayesNet
All Implemented Interfaces:
java.io.Serializable

public class QuasiBayesNet
extends BayesNet

See Also:
Serialized Form

Field Summary
static int CONSTANT_DENSITY_BOUNDED
           
static int CONSTANT_DENSITY_RATIO
           
(package private) static int CREDAL_SET
           
static int EPSILON_CONTAMINATED
           
(package private) static java.lang.String[] global_neighborhood_keywords
           
(package private)  double global_neighborhood_parameter
           
(package private)  int global_neighborhood_type
           
static int NO_CREDAL_SET
           
static int TOTAL_VARIATION
           
 
Fields inherited from class pt.tumba.ngram.bayes.BayesNet
BIF, BUGS, INVALID_INDEX, name, probability_functions, probability_variables, properties, utility_function, XML
 
Constructor Summary
QuasiBayesNet()
           
QuasiBayesNet(BayesNet bn)
           
QuasiBayesNet(java.io.InputStream istream)
           
QuasiBayesNet(java.lang.String s)
           
QuasiBayesNet(java.lang.String n_n, int n_v, int n_f)
           
QuasiBayesNet(java.lang.String n_n, java.util.Vector p)
           
QuasiBayesNet(java.net.URL url)
           
QuasiBayesNet(java.net.URL context, java.lang.String spec)
           
 
Method Summary
 boolean are_local_credal_sets_present()
          Indicate whether or not there are local credal sets defined in the network.
 double get_global_neighborhood_parameter()
          Get the parameter for the global neighborhood modeled by the network.
 int get_global_neighborhood_type()
          Get the type of global neighborhood.
 void print(java.io.PrintStream out)
          Print method for a QuasiBayesNet object.
protected  void process_properties()
           
 void set_global_neighborhood_parameter(double p)
          Set the parameter for the global neighborhood modeled by the network.
 void set_global_neighborhood_type(int type)
          Set the type of global neighborhood.
protected  void translate(InterchangeFormat ifo)
           
 
Methods inherited from class pt.tumba.ngram.bayes.BayesNet
add_property, get_all_evidence, get_function, get_name, get_probability_function, get_probability_functions, get_probability_variable, get_probability_variables, get_properties, get_utility_function, index_of_variable, number_probability_functions, number_variables, print, process_probability_function_properties, process_probability_variable_properties, remove_property, remove_property, save_bif, save_bugs, save_embayes, save_xml_0_2, save_xml, set_name, set_probability_function, set_probability_function, set_probability_functions, set_probability_variable, set_probability_variable, set_probability_variables, set_properties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

global_neighborhood_type

int global_neighborhood_type

global_neighborhood_parameter

double global_neighborhood_parameter

global_neighborhood_keywords

static final java.lang.String[] global_neighborhood_keywords

NO_CREDAL_SET

public static final int NO_CREDAL_SET
See Also:
Constant Field Values

CREDAL_SET

static final int CREDAL_SET
See Also:
Constant Field Values

CONSTANT_DENSITY_RATIO

public static final int CONSTANT_DENSITY_RATIO
See Also:
Constant Field Values

EPSILON_CONTAMINATED

public static final int EPSILON_CONTAMINATED
See Also:
Constant Field Values

CONSTANT_DENSITY_BOUNDED

public static final int CONSTANT_DENSITY_BOUNDED
See Also:
Constant Field Values

TOTAL_VARIATION

public static final int TOTAL_VARIATION
See Also:
Constant Field Values
Constructor Detail

QuasiBayesNet

public QuasiBayesNet()

QuasiBayesNet

public QuasiBayesNet(java.lang.String n_n,
                     int n_v,
                     int n_f)

QuasiBayesNet

public QuasiBayesNet(java.lang.String n_n,
                     java.util.Vector p)

QuasiBayesNet

public QuasiBayesNet(BayesNet bn)

QuasiBayesNet

public QuasiBayesNet(java.lang.String s)
              throws IFException
Throws:
IFException

QuasiBayesNet

public QuasiBayesNet(java.io.InputStream istream)
              throws IFException
Throws:
IFException

QuasiBayesNet

public QuasiBayesNet(java.net.URL context,
                     java.lang.String spec)
              throws IFException,
                     java.io.IOException
Throws:
IFException
java.io.IOException

QuasiBayesNet

public QuasiBayesNet(java.net.URL url)
              throws IFException,
                     java.io.IOException
Throws:
IFException
java.io.IOException
Method Detail

translate

protected void translate(InterchangeFormat ifo)
Overrides:
translate in class BayesNet

process_properties

protected void process_properties()
Overrides:
process_properties in class BayesNet

are_local_credal_sets_present

public boolean are_local_credal_sets_present()
Indicate whether or not there are local credal sets defined in the network.


print

public void print(java.io.PrintStream out)
Print method for a QuasiBayesNet object.

Overrides:
print in class BayesNet

get_global_neighborhood_type

public int get_global_neighborhood_type()
Get the type of global neighborhood.


set_global_neighborhood_type

public void set_global_neighborhood_type(int type)
Set the type of global neighborhood.


get_global_neighborhood_parameter

public double get_global_neighborhood_parameter()
Get the parameter for the global neighborhood modeled by the network.


set_global_neighborhood_parameter

public void set_global_neighborhood_parameter(double p)
Set the parameter for the global neighborhood modeled by the network.