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