<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>GNU Radio 3.2.2 C++ API: trellis_calc_metric.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="navtree.js"></script> <script type="text/javascript" src="resize.js"></script> <script type="text/javascript"> $(document).ready(initResizable); </script> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">GNU Radio 3.2.2 C++ API</div> </td> </tr> </tbody> </table> </div> </div> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> initNavTree('trellis__calc__metric_8h.html',''); </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <h1>trellis_calc_metric.h File Reference</h1> </div> </div> <div class="contents"> <div class="textblock"><code>#include <vector></code><br/> <code>#include <gr_complex.h></code><br/> <code>#include <<a class="el" href="trellis__metric__type_8h_source.html">trellis_metric_type.h</a>></code><br/> </div><div class="textblock"><div class="dynheader"> Include dependency graph for trellis_calc_metric.h:</div> <div class="dyncontent"> <div class="center"><img src="trellis__calc__metric_8h__incl.png" border="0" usemap="#trellis__calc__metric_8h" alt=""/></div> <map name="trellis__calc__metric_8h" id="trellis__calc__metric_8h"> <area shape="rect" id="node7" href="trellis__metric__type_8h.html" title="trellis_metric_type.h" alt="" coords="211,83,349,112"/></map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="trellis__calc__metric_8h__dep__incl.png" border="0" usemap="#trellis__calc__metric_8hdep" alt=""/></div> <map name="trellis__calc__metric_8hdep" id="trellis__calc__metric_8hdep"> <area shape="rect" id="node3" href="trellis__metrics__c_8h.html" title="trellis_metrics_c.h" alt="" coords="5,83,133,112"/><area shape="rect" id="node5" href="trellis__metrics__f_8h.html" title="trellis_metrics_f.h" alt="" coords="157,83,283,112"/><area shape="rect" id="node7" href="trellis__metrics__i_8h.html" title="trellis_metrics_i.h" alt="" coords="307,83,429,112"/><area shape="rect" id="node9" href="trellis__metrics__s_8h.html" title="trellis_metrics_s.h" alt="" coords="453,83,581,112"/><area shape="rect" id="node11" href="trellis__siso__combined__f_8h.html" title="trellis_siso_combined_f.h" alt="" coords="605,83,773,112"/><area shape="rect" id="node13" href="trellis__viterbi__combined__cb_8h.html" title="trellis_viterbi_combined_cb.h" alt="" coords="797,83,987,112"/><area shape="rect" id="node15" href="trellis__viterbi__combined__ci_8h.html" title="trellis_viterbi_combined_ci.h" alt="" coords="1011,83,1197,112"/><area shape="rect" id="node17" href="trellis__viterbi__combined__cs_8h.html" title="trellis_viterbi_combined_cs.h" alt="" coords="1221,83,1411,112"/><area shape="rect" id="node19" href="trellis__viterbi__combined__fb_8h.html" title="trellis_viterbi_combined_fb.h" alt="" coords="1435,83,1621,112"/><area shape="rect" id="node21" href="trellis__viterbi__combined__fi_8h.html" title="trellis_viterbi_combined_fi.h" alt="" coords="1645,83,1827,112"/><area shape="rect" id="node23" href="trellis__viterbi__combined__fs_8h.html" title="trellis_viterbi_combined_fs.h" alt="" coords="1851,83,2037,112"/><area shape="rect" id="node25" href="trellis__viterbi__combined__ib_8h.html" title="trellis_viterbi_combined_ib.h" alt="" coords="2061,83,2248,112"/><area shape="rect" id="node27" href="trellis__viterbi__combined__ii_8h.html" title="trellis_viterbi_combined_ii.h" alt="" coords="2272,83,2453,112"/><area shape="rect" id="node29" href="trellis__viterbi__combined__is_8h.html" title="trellis_viterbi_combined_is.h" alt="" coords="2477,83,2664,112"/><area shape="rect" id="node31" href="trellis__viterbi__combined__sb_8h.html" title="trellis_viterbi_combined_sb.h" alt="" coords="2688,83,2877,112"/><area shape="rect" id="node33" href="trellis__viterbi__combined__si_8h.html" title="trellis_viterbi_combined_si.h" alt="" coords="2901,83,3088,112"/><area shape="rect" id="node35" href="trellis__viterbi__combined__ss_8h.html" title="trellis_viterbi_combined_ss.h" alt="" coords="3112,83,3301,112"/></map> </div> </div> <p><a href="trellis__calc__metric_8h_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="func-members"></a> Functions</h2></td></tr> <tr><td class="memTemplParams" colspan="2">template<class T > </td></tr> <tr><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="trellis__calc__metric_8h.html#a152557a23987b356ff5fcfdd68d67c46">calc_metric</a> (int O, int D, const <a class="el" href="classstd_1_1vector.html">std::vector</a>< T > &TABLE, const T *in, float *metric, <a class="el" href="trellis__metric__type_8h.html#a730999483daebb08342eb009b2c77ad1">trellis_metric_type_t</a> type)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="trellis__calc__metric_8h.html#a944b71c8605ff5b47ef3f856d0cc7ced">calc_metric</a> (int O, int D, const <a class="el" href="classstd_1_1vector.html">std::vector</a>< <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> > &TABLE, const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> *in, float *metric, <a class="el" href="trellis__metric__type_8h.html#a730999483daebb08342eb009b2c77ad1">trellis_metric_type_t</a> type)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a152557a23987b356ff5fcfdd68d67c46"></a><!-- doxytag: member="trellis_calc_metric.h::calc_metric" ref="a152557a23987b356ff5fcfdd68d67c46" args="(int O, int D, const std::vector< T > &TABLE, const T *in, float *metric, trellis_metric_type_t type)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class T > </div> <table class="memname"> <tr> <td class="memname">void calc_metric </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>O</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>D</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>< T > & </td> <td class="paramname"><em>TABLE</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const T * </td> <td class="paramname"><em>in</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float * </td> <td class="paramname"><em>metric</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="trellis__metric__type_8h.html#a730999483daebb08342eb009b2c77ad1">trellis_metric_type_t</a> </td> <td class="paramname"><em>type</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a944b71c8605ff5b47ef3f856d0cc7ced"></a><!-- doxytag: member="trellis_calc_metric.h::calc_metric" ref="a944b71c8605ff5b47ef3f856d0cc7ced" args="(int O, int D, const std::vector< gr_complex > &TABLE, const gr_complex *in, float *metric, trellis_metric_type_t type)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void calc_metric </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>O</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>D</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>< <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> > & </td> <td class="paramname"><em>TABLE</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> * </td> <td class="paramname"><em>in</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float * </td> <td class="paramname"><em>metric</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="trellis__metric__type_8h.html#a730999483daebb08342eb009b2c77ad1">trellis_metric_type_t</a> </td> <td class="paramname"><em>type</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> </div> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="trellis__calc__metric_8h.html">trellis_calc_metric.h</a> </li> <li class="footer">Generated on Thu Feb 17 2011 for GNU Radio 3.2.2 C++ API by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li> </ul> </div> </body> </html>