#ifndef GRIDNODEIMPORTANCE_H #define GRIDNODEIMPORTANCE_H struct GridNodeImportance { /** importance-weight for dijkstra calculation */ float navImportance; /** get the node's nav importance */ float getNavImportance() const {return navImportance;} /** importance-weight for random walks */ float walkImportance; /** get the node's random-walk importance */ float getWalkImportance() const {return walkImportance;} /** ctor */ GridNodeImportance() : navImportance(1.0f) {;} }; #endif // GRIDNODEIMPORTANCE_H