GNU Radio 3.5.3.2 C++ API
digital_constellation_calcdist Class Reference

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>

Inheritance diagram for digital_constellation_calcdist:

List of all members.

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)

Detailed Description

Calculate Euclidian distance for any constellation

Constellation which calculates the distance to each point in the constellation for decision making. Inefficient for large constellations.


Constructor & Destructor Documentation

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 
)

Member Function Documentation

unsigned int digital_constellation_calcdist::decision_maker ( const gr_complex sample) [virtual]

Returns the constellation point that matches best.

Implements digital_constellation.


Friends And Related Function Documentation

DIGITAL_API digital_constellation_calcdist_sptr digital_make_constellation_calcdist ( std::vector< gr_complex constellation) [friend]

The documentation for this class was generated from the following file: