Reorganizing the code to make more sense.

This commit is contained in:
metallaxis committed 2026-07-03 13:52:38 +03:00
1 parent 5145874485
commit 1b62ea6e67
4 files changed
+65 -44

No files matched your search

+9 -3
View File
@@ -39,10 +39,16 @@ void node_pool_destroy();
int32_t node_pool_usage();
/**
* @brief Tries to push child nodes based on the current node's move
* @param curr The current node
* @brief Returns the total capacity of the node pool
* @return The total capacity of the node pool
*/
void try_push_children(Node* curr);
int32_t node_pool_capacity();
/**
* @brief Returns the next available node from the pool without incrementing the pointer
* @return A pointer to the next available node, or NULL if the pool is exhausted
*/
Node* node_pool_next();
/**
* @brief Marks a triplet as visited and checks if it's new