GNU Radio 3.5.3.2 C++ API
|
Calculate Euclidian distance for any constellationConstellation which calculates the distance to each point in the constellation for decision making. Inefficient for large constellations. More...
#include <digital_constellation.h>
Public Member Functions | |
digital_constellation_calcdist (std::vector< gr_complex > constellation, std::vector< unsigned int > pre_diff_code, unsigned int rotational_symmetry, unsigned int dimensionality) | |
unsigned int | decision_maker (const gr_complex *sample) |
Returns the constellation point that matches best. | |
Friends | |
DIGITAL_API digital_constellation_calcdist_sptr | digital_make_constellation_calcdist (std::vector< gr_complex > constellation) |
Calculate Euclidian distance for any constellation
Constellation which calculates the distance to each point in the constellation for decision making. Inefficient for large constellations.
digital_constellation_calcdist::digital_constellation_calcdist | ( | std::vector< gr_complex > | constellation, |
std::vector< unsigned int > | pre_diff_code, | ||
unsigned int | rotational_symmetry, | ||
unsigned int | dimensionality | ||
) |
unsigned int digital_constellation_calcdist::decision_maker | ( | const gr_complex * | sample | ) | [virtual] |
Returns the constellation point that matches best.
Implements digital_constellation.
DIGITAL_API digital_constellation_calcdist_sptr digital_make_constellation_calcdist | ( | std::vector< gr_complex > | constellation | ) | [friend] |