ARB
|
#include <NT_tree_cmp.h>
Public Member Functions | |
GroupPenalty () | |
GroupPenalty (double penalty_, double ingroup_ratio_, double outgroup_ratio_, int unreg_groupsize) | |
bool | doesMatch () const |
bool | betterThan (const GroupPenalty &other) const |
double | get_penalty () const |
bool | isPerfectMatch () const |
double | get_ingroup_ratio () const |
double | get_outgroup_ratio () const |
int | get_groupsize () const |
int | get_unknown () const |
bool | shouldHaveBeenKeeled () const |
void | mark_as_keeled () |
void | addPenalty (double p) |
void | registerUnfound (const GroupMatchScorer &scorer, const TSpecSet &tset) |
Static Public Member Functions | |
static GroupPenalty | NoMatch () |
Definition at line 48 of file NT_tree_cmp.h.
|
inline |
Definition at line 67 of file NT_tree_cmp.h.
Referenced by NoMatch().
|
inline |
Definition at line 75 of file NT_tree_cmp.h.
References nt_assert.
|
inline |
Definition at line 88 of file NT_tree_cmp.h.
Referenced by addPenalty(), and GroupMatchScorer::matchGroups().
|
inline |
Definition at line 89 of file NT_tree_cmp.h.
Referenced by GroupMatchScorer::matchGroups(), SpecSetRegistry::search_best_match(), and RSpecSet::storeBetterMatch().
|
inline |
Definition at line 91 of file NT_tree_cmp.h.
Referenced by SpecSetRegistry::write_node_information().
|
inline |
Definition at line 92 of file NT_tree_cmp.h.
Referenced by SpecSetRegistry::write_node_information().
|
inline |
Definition at line 93 of file NT_tree_cmp.h.
Referenced by SpecSetRegistry::write_node_information().
|
inline |
Definition at line 94 of file NT_tree_cmp.h.
Referenced by SpecSetRegistry::write_node_information().
|
inline |
Definition at line 96 of file NT_tree_cmp.h.
References nt_assert.
Referenced by SpecSetRegistry::write_node_information().
|
inline |
Definition at line 97 of file NT_tree_cmp.h.
References nt_assert.
|
inline |
Definition at line 99 of file NT_tree_cmp.h.
Referenced by SpecSetRegistry::write_node_information().
|
inlinestatic |
Definition at line 101 of file NT_tree_cmp.h.
References GroupPenalty().
Referenced by SpecSetRegistry::search_best_match().
|
inline |
Definition at line 103 of file NT_tree_cmp.h.
Referenced by GroupMatchScorer::matchGroups().
|
inline |
Definition at line 104 of file NT_tree_cmp.h.
References doesMatch(), and nt_assert.
Referenced by GroupMatchScorer::matchGroups(), and registerUnfound().
void GroupPenalty::registerUnfound | ( | const GroupMatchScorer & | scorer, |
const TSpecSet & | tset | ||
) |
Definition at line 206 of file NT_tree_cmp.cxx.
References addPenalty(), GroupMatchScorer::calcUnknownMembersPenalty(), TSpecSet::get_unknown_members(), and nt_assert.