#include <chain_items.hpp>
◆ add_points()
TracedScore vg::algorithms::TracedScore::add_points |
( |
int |
adjustment | ) |
const |
Add (or remove) points along a route to somewhere. Return a modified copy.
◆ max_in()
void vg::algorithms::TracedScore::max_in |
( |
const vector< TracedScore > & |
options, |
|
|
size_t |
option_number |
|
) |
| |
Max in a score from a DP table. If it wins, record provenance.
◆ nowhere()
static size_t vg::algorithms::TracedScore::nowhere |
( |
| ) |
|
|
inlinestatic |
What is the sentinel for an empty provenance? Use a function instead of a constant because that's easier when we're just a header.
◆ operator!=()
bool vg::algorithms::TracedScore::operator!= |
( |
const TracedScore & |
other | ) |
const |
|
inline |
◆ operator<()
bool vg::algorithms::TracedScore::operator< |
( |
const TracedScore & |
other | ) |
const |
|
inline |
◆ operator==()
bool vg::algorithms::TracedScore::operator== |
( |
const TracedScore & |
other | ) |
const |
|
inline |
◆ operator>()
bool vg::algorithms::TracedScore::operator> |
( |
const TracedScore & |
other | ) |
const |
|
inline |
Compare for greater-than.
◆ score_from()
TracedScore vg::algorithms::TracedScore::score_from |
( |
const vector< TracedScore > & |
options, |
|
|
size_t |
option_number |
|
) |
| |
|
static |
Get a score from a table and record provenance in it.
◆ unset()
static TracedScore vg::algorithms::TracedScore::unset |
( |
| ) |
|
|
inlinestatic |
What's the default value for an empty table cell? Use a function instead of a constant because that's easier when we're just a header.
◆ score
int vg::algorithms::TracedScore::score |
◆ source
size_t vg::algorithms::TracedScore::source |
The documentation for this class was generated from the following files: