ARB
|
#include <ps_candidate.hxx>
Public Member Functions | |
unsigned long | initFalseIDs (const SpeciesID _min_id, const SpeciesID _max_id, SpeciesID &_min_sets_id, SpeciesID &_max_sets_id) |
unsigned long | matchPathOnOneFalseIDs (IDSet &_path) |
void | decreasePasses () |
void | getParentMap () |
bool | hasChild (PS_NodePtr _ps_node) const |
bool | alreadyUsedNode (const PS_NodePtr &_ps_node) const |
int | addChild (unsigned long _distance, unsigned long _gain, const PS_NodePtr &_node, IDSet &_path) |
bool | updateBestChild (const unsigned long _gain, const unsigned long _one_false_IDs_matches, const float _filling_level, const PS_NodePtr &_node, IDSet &_path) |
void | reduceChildren (const float _filling_level) |
void | printProbes (const SpeciesID _species_count, const unsigned long _depth=0, const bool _descend=true) const |
void | print (const unsigned long _depth=0, const bool _print_one_false_IDs=false, const bool _descend=true) const |
void | save (PS_FileBuffer *_file, const unsigned long _bits_in_map) |
void | load (PS_FileBuffer *_file, const unsigned long _bits_in_map, const PS_NodePtr &_root_node) |
PS_Candidate (float _distance) | |
~PS_Candidate () | |
Public Attributes | |
float | filling_level |
unsigned long | depth |
float | distance |
unsigned long | gain |
unsigned int | passes_left |
PS_Candidate * | parent |
unsigned long | false_IDs |
ID2IDSet * | one_false_IDs |
unsigned long | one_false_IDs_matches |
PS_BitMap_Counted * | map |
IDSet | path |
PS_NodePtr | node |
PS_CandidateByGainMap | children |
Static Public Attributes | |
static const unsigned int | MAX_PASSES = 3 |
Definition at line 56 of file ps_candidate.hxx.
|
inlineexplicit |
Definition at line 468 of file ps_candidate.hxx.
References NULp, and SmartPtr< T, C >::setNull().
|
inline |
Definition at line 481 of file ps_candidate.hxx.
|
inline |
Definition at line 90 of file ps_candidate.hxx.
Definition at line 125 of file ps_candidate.hxx.
|
inline |
Definition at line 141 of file ps_candidate.hxx.
|
inline |
Definition at line 145 of file ps_candidate.hxx.
|
inline |
Definition at line 151 of file ps_candidate.hxx.
|
inline |
Definition at line 161 of file ps_candidate.hxx.
References alreadyUsedNode(), and SmartPtr< T, C >::isNull().
Referenced by alreadyUsedNode(), and PS_find_probe_for_sets().
|
inline |
Definition at line 171 of file ps_candidate.hxx.
Referenced by PS_find_probe_for_sets().
|
inline |
Definition at line 191 of file ps_candidate.hxx.
|
inline |
Definition at line 223 of file ps_candidate.hxx.
Referenced by PS_find_probes().
|
inline |
Definition at line 287 of file ps_candidate.hxx.
References PS_Node::countProbes(), fflush(), PS_Node::getProbesBegin(), PS_Node::getProbesEnd(), and SmartPtr< T, C >::isNull().
|
inline |
Definition at line 334 of file ps_candidate.hxx.
References fflush(), and SmartPtr< T, C >::isNull().
Referenced by main(), and PS_descend().
|
inline |
Definition at line 382 of file ps_candidate.hxx.
References id, PS_FileBuffer::put_int(), PS_FileBuffer::put_uint(), and PS_FileBuffer::put_ulong().
Referenced by main().
|
inline |
Definition at line 425 of file ps_candidate.hxx.
References PS_FileBuffer::get_int(), PS_FileBuffer::get_uint(), PS_FileBuffer::get_ulong(), PS_Node::getChild(), and NULp.
Referenced by main().
|
static |
Definition at line 75 of file ps_candidate.hxx.
float PS_Candidate::filling_level |
Definition at line 76 of file ps_candidate.hxx.
Referenced by PS_descend().
unsigned long PS_Candidate::depth |
Definition at line 77 of file ps_candidate.hxx.
Referenced by main(), PS_descend(), and PS_get_node_paths().
float PS_Candidate::distance |
Definition at line 78 of file ps_candidate.hxx.
unsigned long PS_Candidate::gain |
Definition at line 79 of file ps_candidate.hxx.
unsigned int PS_Candidate::passes_left |
Definition at line 80 of file ps_candidate.hxx.
PS_Candidate* PS_Candidate::parent |
Definition at line 81 of file ps_candidate.hxx.
Referenced by main(), PS_ascend(), PS_get_node_paths(), and PS_make_map_for_candidate().
unsigned long PS_Candidate::false_IDs |
Definition at line 82 of file ps_candidate.hxx.
Referenced by main().
ID2IDSet* PS_Candidate::one_false_IDs |
Definition at line 83 of file ps_candidate.hxx.
unsigned long PS_Candidate::one_false_IDs_matches |
Definition at line 84 of file ps_candidate.hxx.
PS_BitMap_Counted* PS_Candidate::map |
Definition at line 85 of file ps_candidate.hxx.
Referenced by getParentMap(), and PS_make_map_for_candidate().
IDSet PS_Candidate::path |
Definition at line 86 of file ps_candidate.hxx.
Referenced by main(), PS_ascend(), PS_descend(), and PS_make_map_for_candidate().
PS_NodePtr PS_Candidate::node |
Definition at line 87 of file ps_candidate.hxx.
Referenced by main(), and PS_get_node_paths().
PS_CandidateByGainMap PS_Candidate::children |
Definition at line 88 of file ps_candidate.hxx.
Referenced by PS_descend(), PS_find_probes(), and PS_get_leaf_candidates().