/* * © Copyright 2014 – Urheberrechtshinweis * Alle Rechte vorbehalten / All Rights Reserved * * Programmcode ist urheberrechtlich geschuetzt. * Das Urheberrecht liegt, soweit nicht ausdruecklich anders gekennzeichnet, bei Frank Ebner. * Keine Verwendung ohne explizite Genehmigung. * (vgl. § 106 ff UrhG / § 97 UrhG) */ #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