ARB
Public Member Functions | List of all members
Partition Class Reference

#include <PT_partition.h>

Public Member Functions

 Partition (const PrefixProbabilities &prob_, int passes_)
 
 Partition (const Partition &other)
 
 DECLARE_ASSIGNMENT_OPERATOR (Partition)
 
 ~Partition ()
 
double pass_probability (int pass) const
 
int max_allowed_passes () const
 
int number_of_passes () const
 
int split_depth () const
 
bool done () const
 
bool next ()
 
void reset ()
 
size_t estimate_probes_for_pass (int pass, size_t overall_base_count) const
 
size_t estimate_max_probes_for_any_pass (size_t overall_base_count) const
 
size_t estimate_max_kb_for_any_pass (size_t overall_base_count) const
 
bool contains (const char *probe) const
 

Detailed Description

Definition at line 321 of file PT_partition.h.

Constructor & Destructor Documentation

Partition::Partition ( const PrefixProbabilities prob_,
int  passes_ 
)
inline

Definition at line 393 of file PT_partition.h.

References max_allowed_passes(), pt_assert, and reset().

Partition::Partition ( const Partition other)
inline

Definition at line 404 of file PT_partition.h.

References MarkedPrefixes::predecide().

Partition::~Partition ( )
inline

Definition at line 416 of file PT_partition.h.

Member Function Documentation

Partition::DECLARE_ASSIGNMENT_OPERATOR ( Partition  )
double Partition::pass_probability ( int  pass) const
inline

Definition at line 420 of file PT_partition.h.

References PrefixProbabilities::of_range().

Referenced by estimate_probes_for_pass().

int Partition::max_allowed_passes ( ) const
inline

Definition at line 424 of file PT_partition.h.

References PrefixProbabilities::get_prefix_count().

Referenced by Partition().

int Partition::number_of_passes ( ) const
inline

Definition at line 425 of file PT_partition.h.

Referenced by enter_stage_1_build_tree().

int Partition::split_depth ( ) const
inline

Definition at line 426 of file PT_partition.h.

References PrefixProbabilities::get_depth().

bool Partition::done ( ) const
inline

Definition at line 428 of file PT_partition.h.

Referenced by enter_stage_1_build_tree(), and next().

bool Partition::next ( )
inline

Definition at line 429 of file PT_partition.h.

References done().

Referenced by enter_stage_1_build_tree().

void Partition::reset ( )
inline

Definition at line 436 of file PT_partition.h.

Referenced by Partition().

size_t Partition::estimate_probes_for_pass ( int  pass,
size_t  overall_base_count 
) const
inline

Definition at line 441 of file PT_partition.h.

References pass_probability(), and pt_assert.

Referenced by estimate_max_probes_for_any_pass().

size_t Partition::estimate_max_probes_for_any_pass ( size_t  overall_base_count) const
inline
size_t Partition::estimate_max_kb_for_any_pass ( size_t  overall_base_count) const
inline
bool Partition::contains ( const char probe) const
inline

Definition at line 459 of file PT_partition.h.

References MarkedPrefixes::isMarked().

Referenced by enter_stage_1_build_tree().


The documentation for this class was generated from the following file: