jotoh98 / treasureHunt

Treasure hunt engine for PG Computational Geometry
6 stars 1 forks source link

Fix Statistics for HideAndSeek mode #369

Closed rukemn closed 4 years ago

rukemn commented 4 years ago

Right now statistics are incorrectly calculated. The most important one beeing the "tracelength / optimalPath " Statistic.

Also I'm not sure if the constant is generally calculated correctly. I'm refereing to the Statistic.getSolutionQuotient() method. It's calculating "localOptimalSolution / optimalSolution" , but I think this could lead to errors since some Searchstrategies are walking further than necessary, therefore distancing themselves from the treasure. This might result in calculating a "LocalOptimalSolution" value which is too high?