Imported Upstream version 3.2.2
[debian/gnuradio] / gr-trellis / src / lib / trellis_metrics_c.h
index 0eccf829bb4c9188a4eed3df27288b8850ba6034..7bffac573a9948f8e05c9ccfd27d989cd3a4807a 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_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<gr_complex> TABLE () const { return d_TABLE; }
+  void set_TABLE (const std::vector<gr_complex> &table);
   void forecast (int noutput_items,
                 gr_vector_int &ninput_items_required);
   int general_work (int noutput_items,