worked on signal-strength-estimation
add this information to grid nodes evaluate this information new test-cases
This commit is contained in:
@@ -24,14 +24,18 @@ private:
|
||||
/** INTERNAL: node's index array-index */
|
||||
int _idx;
|
||||
|
||||
/** semantic annotation for this node */
|
||||
uint8_t _type;
|
||||
/** INTERNAL: store neighbors (via index) */
|
||||
int _neighbors[10];
|
||||
|
||||
/** INTERNAL: number of neighbors */
|
||||
uint8_t _numNeighbors;
|
||||
|
||||
/** INTERNAL: store neighbors (via index) */
|
||||
int _neighbors[10];
|
||||
/** semantic annotation for this node */
|
||||
uint8_t _type;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public:
|
||||
@@ -43,7 +47,9 @@ public:
|
||||
|
||||
public:
|
||||
|
||||
GridNode() : _idx(-1), _numNeighbors(0), _neighbors() {;}
|
||||
/** ctor */
|
||||
GridNode() : _idx(-1), _neighbors(), _numNeighbors(0), _type(0) {;}
|
||||
|
||||
|
||||
/** get the node's index within its grid */
|
||||
int getIdx() const {return _idx;}
|
||||
|
||||
Reference in New Issue
Block a user