25 #ifndef INCLUDED_TRELLIS_METRICS_F_H
26 #define INCLUDED_TRELLIS_METRICS_F_H
43 typedef boost::shared_ptr<metrics_f>
sptr;
45 static sptr make(
int O,
int D,
const std::vector<float> &TABLE,
48 virtual int O()
const = 0;
49 virtual int D()
const = 0;
51 virtual std::vector<float> TABLE()
const = 0;
53 virtual void set_O(
int O) = 0;
54 virtual void set_D(
int D) = 0;
56 virtual void set_TABLE(
const std::vector<float> &table) = 0;
Evaluate metrics for use by the Viterbi algorithm.
Definition: metrics_f.h:39
trellis_metric_type_t
Definition: metric_type.h:29
Include this header to use the message passing features.
Definition: logger.h:131
boost::shared_ptr< metrics_f > sptr
Definition: metrics_f.h:43
#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