fix bug where starting index was set incorrectly when populating graph

This commit is contained in:
2026-02-28 22:52:05 +01:00
parent 9ab96c5903
commit bdf4dbc81b
4 changed files with 23 additions and 23 deletions

View File

@ -34,7 +34,7 @@ private:
std::unordered_set<size_t>
path_indices; // For faster lookup if a vertex is part of the path in renderer
std::stack<size_t> move_history; // Moves between the starting state and the current state
std::vector<size_t> move_history; // Moves between the starting state and the current state
std::unordered_map<size_t, int> visit_counts; // How often each state was visited
size_t starting_state_index = 0;