diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-08-07 15:53:08 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-08-07 15:53:08 +0200 |
| commit | 22282840b74d434b79e87d82e4ea075baa82a51c (patch) | |
| tree | 9236e85c825fb06f1b65847d3ce3005185fe8b8a /doc/h48.md | |
| parent | 5355de2921126e2b75e24abd57e17556e22a6ed0 (diff) | |
| download | nissy-core-22282840b74d434b79e87d82e4ea075baa82a51c.tar.gz nissy-core-22282840b74d434b79e87d82e4ea075baa82a51c.zip | |
Added notes on possible performance improvements for H48
Diffstat (limited to '')
| -rw-r--r-- | doc/h48.md | 20 |
1 files changed, 20 insertions, 0 deletions
| @@ -432,3 +432,23 @@ Moreover, in this case one can optimize it further by avoiding to repeat | |||
| 432 | the search from a coordinate that has already been visited. (Work | 432 | the search from a coordinate that has already been visited. (Work |
| 433 | in progress - this method will be replaced in the future by a more | 433 | in progress - this method will be replaced in the future by a more |
| 434 | efficient one) | 434 | efficient one) |
| 435 | |||
| 436 | ## Possible future improvements | ||
| 437 | |||
| 438 | *This section should be considered more of a draft with personal | ||
| 439 | notes, unlike the rest of the document.* | ||
| 440 | |||
| 441 | There are some areas where this implementation of the H48 optimal solver | ||
| 442 | can be improved: | ||
| 443 | |||
| 444 | * Interwtining fallback tables to the main table. This is a trick that | ||
| 445 | nxopt uses to reduce the number of cache misses, but we have not | ||
| 446 | implemented in H48 yet. | ||
| 447 | * Faster pruning table generation for **h11** and **h0**. Since these | ||
| 448 | two coordinates are "real" coordinates, we can use a different technique | ||
| 449 | to generate their tables faster. This won't affect the solver speed. | ||
| 450 | * Use | ||
| 451 | [BPMX](https://webdocs.cs.ualberta.ca/~nathanst/papers/AStar_Inconsistent.pdf) | ||
| 452 | to improve pruning estimation. This optimization sped up | ||
| 453 | [vcube](https://github.com/Voltara/vcube/commit/a5b08f51793f81ac34c1d402f2627f6a0495c636). | ||
| 454 | by about 5%-10%. Suggested by Arhan Chaudhary pointed out. | ||
