ccsoft  0.0.0
Convolutional codes library with soft decision decoding
ccsoft::NodeEdgeOrdering Class Reference

class used for node ordering More...

#include <CC_SequentialDecoding.h>

List of all members.

Public Member Functions

 NodeEdgeOrdering (float _path_metric, unsigned int _node_id)
 ~NodeEdgeOrdering ()
bool operator> (const NodeEdgeOrdering &other) const
 NodeEdgeOrdering (float _path_metric, unsigned int _node_id)
 ~NodeEdgeOrdering ()
bool operator> (const NodeEdgeOrdering &other) const

Public Attributes

float path_metric
unsigned int node_id

Detailed Description

class used for node ordering


Constructor & Destructor Documentation

ccsoft::NodeEdgeOrdering::NodeEdgeOrdering ( float  _path_metric,
unsigned int  _node_id 
) [inline]
                                                                    :
        path_metric(_path_metric),
        node_id(_node_id)
    {}
ccsoft::NodeEdgeOrdering::NodeEdgeOrdering ( float  _path_metric,
unsigned int  _node_id 
) [inline]
                                                                    :
        path_metric(_path_metric),
        node_id(_node_id)
    {}

Member Function Documentation

bool ccsoft::NodeEdgeOrdering::operator> ( const NodeEdgeOrdering other) const [inline]
    {
        if (path_metric == other.path_metric)
        {
            return node_id > other.node_id;
        }
        else
        {
            return path_metric > other.path_metric;
        }
    }
bool ccsoft::NodeEdgeOrdering::operator> ( const NodeEdgeOrdering other) const [inline]
    {
        if (path_metric == other.path_metric)
        {
            return node_id > other.node_id;
        }
        else
        {
            return path_metric > other.path_metric;
        }
    }

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines