X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gr-trellis%2Fsrc%2Flib%2Ftrellis_metrics_c.h;h=7bffac573a9948f8e05c9ccfd27d989cd3a4807a;hb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;hp=0eccf829bb4c9188a4eed3df27288b8850ba6034;hpb=18a684bf3dc144c48fc4cc6cc72f5070febd8074;p=debian%2Fgnuradio diff --git a/gr-trellis/src/lib/trellis_metrics_c.h b/gr-trellis/src/lib/trellis_metrics_c.h index 0eccf829..7bffac57 100644 --- a/gr-trellis/src/lib/trellis_metrics_c.h +++ b/gr-trellis/src/lib/trellis_metrics_c.h @@ -6,7 +6,7 @@ * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) + * the Free Software Foundation; either version 3, or (at your option) * any later version. * * GNU Radio is distributed in the hope that it will be useful, @@ -35,8 +35,7 @@ trellis_metrics_c_sptr trellis_make_metrics_c (int O, int D, const std::vector< /*! * \brief Evaluate metrics for use by the Viterbi algorithm. - * \ingroup block - * + * \ingroup coding_blk */ class trellis_metrics_c : public gr_block { @@ -53,6 +52,7 @@ public: int D () const { return d_D; } trellis_metric_type_t TYPE () const { return d_TYPE; } std::vector TABLE () const { return d_TABLE; } + void set_TABLE (const std::vector &table); void forecast (int noutput_items, gr_vector_int &ninput_items_required); int general_work (int noutput_items,