Advertisement
Guest User

Untitled

a guest
Jan 20th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. (make-graph) -> graph
  2. (make-node label) -> node
  3. (node-label node) -> label
  4. (add-node graph node) -> graph
  5. (add-edge graph from-node to-node) -> edge
  6. (edge-from edge) -> from-node
  7. (edge-to edge) -> to-node
  8. (graph-edges graph) -> {edge}
  9. (graph-nodes graph) -> {node}
  10. (graph-edges-from graph node) -> {edge}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement