25 #ifndef INCLUDED_TRELLIS_METRICS_I_H
26 #define INCLUDED_TRELLIS_METRICS_I_H
45 static sptr make(
int O,
int D,
const std::vector<int> &TABLE,
48 virtual int O()
const = 0;
49 virtual int D()
const = 0;
51 virtual std::vector<int> TABLE()
const = 0;
52 virtual void set_TABLE(
const std::vector<int> &table) = 0;
Evaluate metrics for use by the Viterbi algorithm.
Definition: metrics_i.h:39
trellis_metric_type_t
Definition: metric_type.h:29
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
#define TRELLIS_API
Definition: gr-trellis/include/gnuradio/trellis/api.h:30
The abstract base class for all 'terminal' processing blocks.A signal processing flow is constructed ...
Definition: block.h:60
boost::shared_ptr< metrics_i > sptr
Definition: metrics_i.h:43