restructure puzzle space generation (for boards up to 5x5)
- uses a huge global seen-states-cache. Not scalable without more filtering
This commit is contained in:
@ -15,7 +15,7 @@ auto graph_distances::empty() const -> bool
|
||||
}
|
||||
|
||||
auto graph_distances::calculate_distances(const size_t node_count,
|
||||
const std::vector<std::pair<size_t, size_t>>& edges,
|
||||
const std::vector<spring>& edges,
|
||||
const std::vector<size_t>& targets) -> void
|
||||
{
|
||||
// Build a list of adjacent nodes to speed up BFS
|
||||
|
||||
Reference in New Issue
Block a user