pt.tumba.ngram.bayes
Class DSeparation
java.lang.Object
   pt.tumba.ngram.bayes.DSeparation
pt.tumba.ngram.bayes.DSeparation
-  class DSeparation 
- extends java.lang.Object
 
 
| Method Summary | 
| private  boolean | adj(int index_from,
    int index_to,
    int flag)
 | 
|  java.util.Vector | all_affecting(int x)Returns a list of all variables whose distributions can
 affect the marginal posterior of a given variable.
 | 
|  java.util.Vector | all_connected(int x)Return a list of all variables that are d-connected to
 a given variable.
 | 
| private  boolean | is_separator(int i,
             int flag)
 | 
| private  void | separation_relations(int x,
                     int flag)
 | 
| private  java.util.Vector | separation(int x,
           int flag)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
bn
BayesNet bn
above
boolean[] above
below
boolean[] below
CONNECTED_VARIABLES
private static final int CONNECTED_VARIABLES
- See Also:
- Constant Field Values
AFFECTING_VARIABLES
private static final int AFFECTING_VARIABLES
- See Also:
- Constant Field Values
DSeparation
DSeparation(BayesNet b_n)
- Constructor for DSeparation object.
 
all_connected
public java.util.Vector all_connected(int x)
- Return a list of all variables that are d-connected to
 a given variable.
 
- 
 
all_affecting
public java.util.Vector all_affecting(int x)
- Returns a list of all variables whose distributions can
 affect the marginal posterior of a given variable.
 
- 
 
separation_relations
private void separation_relations(int x,
                                  int flag)
- 
 
separation
private java.util.Vector separation(int x,
                                    int flag)
- 
 
is_separator
private boolean is_separator(int i,
                             int flag)
- 
 
adj
private boolean adj(int index_from,
                    int index_to,
                    int flag)
-