Compare commits
1 Commits
efficient-
...
2ef2a29601
| Author | SHA1 | Date | |
|---|---|---|---|
|
2ef2a29601
|
15
src/main.cpp
15
src/main.cpp
@ -14,18 +14,11 @@
|
|||||||
#include <tracy/Tracy.hpp>
|
#include <tracy/Tracy.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO: Add some popups (my split between input.cpp/gui.cpp makes this ugly)
|
// TODO: Manual movement is now completely broken
|
||||||
// - Clear graph: Notify that this will clear the visited states and move
|
|
||||||
// history
|
|
||||||
// - Reset state: Notify that this will reset the move count
|
|
||||||
|
|
||||||
// TODO: Reduce memory usage
|
// TODO: Add state space generation time to debug overlay
|
||||||
// - The memory model of the puzzle board is terrible (bitboards?)
|
|
||||||
|
|
||||||
// TODO: Improve solver
|
// TODO: Improve solver
|
||||||
// - Move discovery is terrible
|
|
||||||
// - Instead of trying each direction for each block, determine the
|
|
||||||
// possible moves more efficiently (requires a different memory model)
|
|
||||||
// - Implement state discovery/enumeration
|
// - Implement state discovery/enumeration
|
||||||
// - Find all possible initial board states (single one for each
|
// - Find all possible initial board states (single one for each
|
||||||
// possible statespace). Currently wer're just finding all states
|
// possible statespace). Currently wer're just finding all states
|
||||||
@ -37,8 +30,6 @@
|
|||||||
|
|
||||||
// TODO: Click states in the graph to display them in the board
|
// TODO: Click states in the graph to display them in the board
|
||||||
|
|
||||||
// NOTE: Tracy uses a huge amount of memory. For longer testing disable Tracy.
|
|
||||||
|
|
||||||
// For profiling explore_state_space
|
// For profiling explore_state_space
|
||||||
auto main2(int argc, char* argv[]) -> int
|
auto main2(int argc, char* argv[]) -> int
|
||||||
{
|
{
|
||||||
@ -173,4 +164,4 @@ auto main(int argc, char* argv[]) -> int
|
|||||||
CloseWindow();
|
CloseWindow();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user