Advertisement
Guest User

Untitled

a guest
Jan 14th, 2015
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Graph:
  2.  
  3. ...
  4. .#.
  5.  
  6. Von Neumann adjacency as an adjacency matrix:
  7.  
  8. 0 1 0 1 0 0
  9. 1 0 1 0 0 0
  10. 0 1 0 0 0 1
  11. 1 0 0 0 0 0
  12. 0 0 0 0 0 0
  13. 0 0 1 0 0 0
  14.  
  15. Moore adjacency:
  16.  
  17. 0 1 0 1 0 0
  18. 1 0 1 1 0 1
  19. 0 1 0 0 0 1
  20. 1 1 0 0 0 0
  21. 0 0 0 0 0 0
  22. 0 1 1 0 0 0
  23.  
  24. Rook adjacency:
  25.  
  26. 0 1 1 1 0 0
  27. 1 0 1 0 0 0
  28. 1 1 0 0 0 1
  29. 1 0 0 0 0 0
  30. 0 0 0 0 0 0
  31. 0 0 1 0 0 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement