#include <dppoint.h>
|
void | UpdateIfBetter (int64_t cost, int32_t steps, const DPPoint *prev, int32_t n, int32_t sig_x, int64_t sig_xsq) |
|
◆ CostFunc
typedef int64_t(DPPoint::* tesseract::DPPoint::CostFunc) (const DPPoint *prev) |
◆ DPPoint()
tesseract::DPPoint::DPPoint |
( |
| ) |
|
|
inline |
◆ AddLocalCost()
void tesseract::DPPoint::AddLocalCost |
( |
int |
new_cost | ) |
|
|
inline |
◆ best_prev()
const DPPoint* tesseract::DPPoint::best_prev |
( |
| ) |
const |
|
inline |
◆ CostWithVariance()
int64_t tesseract::DPPoint::CostWithVariance |
( |
const DPPoint * |
prev | ) |
|
◆ Pathlength()
int tesseract::DPPoint::Pathlength |
( |
| ) |
const |
|
inline |
◆ Solve()
DPPoint * tesseract::DPPoint::Solve |
( |
int |
min_step, |
|
|
int |
max_step, |
|
|
bool |
debug, |
|
|
CostFunc |
cost_func, |
|
|
int |
size, |
|
|
DPPoint * |
points |
|
) |
| |
|
static |
◆ total_cost()
int tesseract::DPPoint::total_cost |
( |
| ) |
const |
|
inline |
◆ UpdateIfBetter()
void tesseract::DPPoint::UpdateIfBetter |
( |
int64_t |
cost, |
|
|
int32_t |
steps, |
|
|
const DPPoint * |
prev, |
|
|
int32_t |
n, |
|
|
int32_t |
sig_x, |
|
|
int64_t |
sig_xsq |
|
) |
| |
|
private |
◆ best_prev_
const DPPoint* tesseract::DPPoint::best_prev_ |
|
private |
◆ local_cost_
int32_t tesseract::DPPoint::local_cost_ |
|
private |
◆ n_
int32_t tesseract::DPPoint::n_ |
|
private |
◆ sig_x_
int32_t tesseract::DPPoint::sig_x_ |
|
private |
◆ sig_xsq_
int64_t tesseract::DPPoint::sig_xsq_ |
|
private |
◆ total_cost_
int32_t tesseract::DPPoint::total_cost_ |
|
private |
◆ total_steps_
int32_t tesseract::DPPoint::total_steps_ |
|
private |
The documentation for this class was generated from the following files:
- /home/stephane/src/tesseract/src/ccstruct/dppoint.h
- /home/stephane/src/tesseract/src/ccstruct/dppoint.cpp