wip: implement a smaller data model to reduce copying from physics to main thread

This commit is contained in:
2026-02-24 17:05:24 +01:00
parent 1347abad34
commit c4222c783c
13 changed files with 312 additions and 470 deletions

View File

@ -7,7 +7,6 @@
#include <functional>
#include <iostream>
#include <string>
#include <unordered_set>
#include <vector>
enum Direction {
@ -219,8 +218,9 @@ public:
auto GetNextStates() const -> std::vector<State>;
auto Closure() const -> std::pair<std::unordered_set<State>,
std::vector<std::pair<State, State>>>;
auto Closure() const
-> std::pair<std::vector<State>,
std::vector<std::pair<std::size_t, std::size_t>>>;
};
// Provide hash functions so we can use State and <State, State> as hash-set