PathEngine home previous: 'Swarm'next: 'Benchmark'
Contents, Programmers Guide, Example Projects, Other Examples, 'PathStress'



A stress test for pathfinding and collision queries.

This stress test generates random configurations of base obstacles and dynamic obstacles, and checks queries made for these configurations for consistency.

Because PathEngine is deterministic, the configurations of obstacles and paths generated for a given random seed should always be exactly the same.
A seed is generated initially by calling the windows system call 'timeGetTime()', to ensure that different configurations are generated each time the test is run.
This seed is saved to a file ('savedRandomSeed.txt' in the 'bin' directory of the release).
If one of the tests fails for you (or if PathEngine hangs or crashes out) then send this saved seed value in to PathEngine support and the bug can be repeated.

You could also try changing the parameters at the bottom of main.cpp.
If a test fails with your modified parameters then send in the seed and the modified code.

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: 'Benchmark'