Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1.  
  2. struct node
  3. {
  4. bool available;   //is this node available for pathing
  5. int cost;
  6. int status;       //mailboxed int representing status
  7. int parent_index; //index of parent node in list
  8. };
  9.  
  10. struct graph
  11. {
  12.     int width, height;
  13.     int unsolved; //represents an unsolved node. unsolved + 1 is solving, unsolved + 2 is solved.
  14.     node* nodes;
  15. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement