pt.tumba.ngram.bayes
Class Bucket
java.lang.Object
pt.tumba.ngram.bayes.Bucket
class Bucket
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bucket_tree
BucketTree bucket_tree
variable
ProbabilityVariable variable
discrete_functions
java.util.Vector discrete_functions
backward_pointers
DiscreteFunction backward_pointers
separator
DiscreteFunction separator
do_produce_clusters
boolean do_produce_clusters
cluster
DiscreteFunction cluster
non_conditioning_variables
java.util.Vector non_conditioning_variables
parents
java.util.Vector parents
child
Bucket child
bucket_status
int bucket_status
ordered_dfs
private DiscreteFunction[] ordered_dfs
is_ordered_dfs_ready
private boolean is_ordered_dfs_ready
EMPTY
static final int EMPTY
- See Also:
- Constant Field Values
REDUCED
static final int REDUCED
- See Also:
- Constant Field Values
DISTRIBUTED
static final int DISTRIBUTED
- See Also:
- Constant Field Values
Bucket
Bucket(BucketTree bs,
ProbabilityVariable pv)
Bucket
Bucket(BucketTree bs,
ProbabilityVariable pv,
boolean dpc)
print
void print()
print
void print(java.io.PrintStream out)
reduce
void reduce()
combine
DiscreteFunction combine()
reduce_cluster
void reduce_cluster()
is_explanation
boolean is_explanation()
order_dfs
private void order_dfs()
join_indexes
private int join_indexes(boolean[] variable_markers)
build_new_function
private DiscreteFunction build_new_function(boolean is_bucket_variable_included)
build_new_variables
private void build_new_variables(DiscreteFunction new_df,
int[] joined_indexes,
boolean is_bucket_variable_included,
int n)
sum_out
private void sum_out(DiscreteFunction new_df)
max_out
private void max_out(DiscreteFunction new_df)
create_backward_pointers
private void create_backward_pointers(DiscreteFunction new_df)