Imported Upstream version 3.2.2
[debian/gnuradio] / gr-trellis / src / lib / trellis_metrics_s.h
index 9ec6576c3ab77cfc70534255e00bb95cf7bdfad8..a30526a2775a58d72ba4a8c7ebfc163ff26df299 100644 (file)
@@ -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_s_sptr trellis_make_metrics_s (int O, int D,  const std::vector<
 
 /*!
  * \brief Evaluate metrics for use by the Viterbi algorithm.
- * \ingroup block
- *
+ * \ingroup coding_blk
  */
 class trellis_metrics_s : 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<short> TABLE () const { return d_TABLE; }
+  void set_TABLE (const std::vector<short> &table);
   void forecast (int noutput_items,
                 gr_vector_int &ninput_items_required);
   int general_work (int noutput_items,