added missing code changes
started working on refactoring of sensors new test-cases
This commit is contained in:
@@ -19,15 +19,12 @@ template <typename T> struct DijkstraNode {
|
||||
/** the weight from the start up to this element */
|
||||
float cumWeight;
|
||||
|
||||
/** whether we already enqueued this node into the processing list (do NOT examing nodes twice) */
|
||||
bool enqueued;
|
||||
|
||||
|
||||
/** ctor */
|
||||
DijkstraNode(const T* element) : element(element), previous(), cumWeight(INF) {;}
|
||||
|
||||
|
||||
// /** equal? (bi-dir) */
|
||||
// bool operator == (const DijkstraNode<T>& other) const {
|
||||
// return element == other.element;
|
||||
// }
|
||||
DijkstraNode(const T* element) : element(element), previous(), cumWeight(INF), enqueued(false) {;}
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user