![]() |
ccsoft
0.0.0
Convolutional codes library with soft decision decoding
|
class used for node ordering More...
#include <CC_SequentialDecoding.h>
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 |
class used for node ordering
ccsoft::NodeEdgeOrdering::NodeEdgeOrdering | ( | float | _path_metric, |
unsigned int | _node_id | ||
) | [inline] |
: path_metric(_path_metric), node_id(_node_id) {}
ccsoft::NodeEdgeOrdering::~NodeEdgeOrdering | ( | ) | [inline] |
{}
ccsoft::NodeEdgeOrdering::NodeEdgeOrdering | ( | float | _path_metric, |
unsigned int | _node_id | ||
) | [inline] |
: path_metric(_path_metric), node_id(_node_id) {}
ccsoft::NodeEdgeOrdering::~NodeEdgeOrdering | ( | ) | [inline] |
{}
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; } }
unsigned int ccsoft::NodeEdgeOrdering::node_id |