Permalink
Browse files

Update README

  • Loading branch information...
1 parent ec32fd8 commit e5fb01da12667c1915b814b7eac552fe02b8fc9b @jg committed Dec 24, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -17,7 +17,7 @@ Play with the code.
3. Sample code snippets below
4. Uncomment puts methods in code for the full experience :-)
-## Snippet-1
+## Snippet-1 (bfs)
```
require './main'
buckets = [Bucket.new(1), Bucket.new(2), Bucket.new(5)]
@@ -28,7 +28,7 @@ end_state = Solver.new.bfs(start_state, 7)
```
-## Snippet-2
+## Snippet-2 (iterative dfs)
```
require './main'
buckets = [Bucket.new(1), Bucket.new(2), Bucket.new(5)]
@@ -38,7 +38,7 @@ start_state = State.new(buckets, actions, goal)
end_state = Solver.new.iterative_dfs(start_state, 3)
```
-## Snippet-3
+## Snippet-3 (two-way search)
```
require './main'
buckets = [Bucket.new(1), Bucket.new(2), Bucket.new(5)]

0 comments on commit e5fb01d

Please sign in to comment.