statistic helper classes
test-cases modified grid importance for better trap-detection
This commit is contained in:
@@ -10,6 +10,12 @@ struct GridNodeImportance {
|
||||
/** 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) {;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user