pt.tumba.ngram.bayes
Class Ordering
java.lang.Object
pt.tumba.ngram.bayes.Ordering
public class Ordering
- extends java.lang.Object
Constructor Summary |
Ordering(BayesNet b_n,
java.lang.String[] or)
Basic constructor for Ordering. |
Ordering(BayesNet b_n,
java.lang.String[] or,
int ds)
Basic constructor for Ordering. |
Ordering(BayesNet b_n,
java.lang.String objective,
int ot)
Basic constructor for Ordering. |
Ordering(BayesNet b_n,
java.lang.String objective,
int ds,
int ot)
Basic constructor for Ordering. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bn
BayesNet bn
order
java.lang.String[] order
explanation_status
int explanation_status
ordering_type
int ordering_type
USER_DEFINED
public static final int USER_DEFINED
- See Also:
- Constant Field Values
USER_ORDER
public static final int USER_ORDER
- See Also:
- Constant Field Values
MINIMUM_WEIGHT
public static final int MINIMUM_WEIGHT
- See Also:
- Constant Field Values
Ordering
public Ordering(BayesNet b_n,
java.lang.String objective,
int ot)
- Basic constructor for Ordering.
Ordering
public Ordering(BayesNet b_n,
java.lang.String[] or)
- Basic constructor for Ordering.
Ordering
public Ordering(BayesNet b_n,
java.lang.String objective,
int ds,
int ot)
- Basic constructor for Ordering.
Ordering
public Ordering(BayesNet b_n,
java.lang.String[] or,
int ds)
- Basic constructor for Ordering.
obtain_explanation_status
private int obtain_explanation_status(BayesNet b_n)
ordering
private java.lang.String[] ordering(java.lang.String objective)
user_order
private java.lang.String[] user_order(java.util.Vector variables_to_order,
int objective_index)
heuristic_order
private java.lang.String[] heuristic_order(java.util.Vector vo,
int objective_index,
int ordering_type)
obtain_value
private long obtain_value(java.util.Vector v,
int ordering_type)
interconnect
private void interconnect(BayesNet bn,
java.util.Vector[] vectors,
DiscreteVariable[] variables_to_be_interconnected)
interconnect
private void interconnect(BayesNet bn,
java.util.Vector[] vectors,
DiscreteVariable pvi,
DiscreteVariable pvj)