Skip to content

Commit 09917c7

Browse files
committed
Updated ReadeME.md..
- additional notes and updates..
1 parent 0019804 commit 09917c7

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ The project features code-level examples for the following items:
2525
+ Generics
2626
+ Closures
2727
+ Hash Tables
28+
+ Bloom Filters
2829
+ Binary Search Trees
2930
+ Tree Balancing (Rotations)
3031
+ Tries
@@ -35,9 +36,9 @@ The project features code-level examples for the following items:
3536
+ Depth-First Search
3637
+ Breadth-First Search
3738

38-
Online, Print & PDF
39+
The Book
3940
--------------------
40-
Available in print or pdf format, <a href="http://shop.waynewbishop.com" target="_blank">The Swift Algorithms Book</a> features code and color illustrations that will benefit students and professionals. People are also welcome to follow the project through Github or online at <a href="http://www.waynewbishop.com/swift" target="_blank">waynewbishop.com/swift</a>. As a collaborative open-source effort, I welcome <a href="https://twitter.com/waynewbishop" target="_blank">feedback</a> and <a href="http://shop.waynewbishop.com/pages/participate" target="_blank">contribution</a> from others.
41+
Available in print or pdf format, <a href="http://shop.waynewbishop.com" target="_blank">The Swift Algorithms Book</a> features code and color illustrations that will benefit students and professionals. As a collaborative open-source effort, I also welcome <a href="https://twitter.com/waynewbishop" target="_blank">feedback</a> and <a href="http://shop.waynewbishop.com/pages/participate" target="_blank">contribution</a> from others.
4142

4243

4344
Example
@@ -51,17 +52,14 @@ Example
5152
//establish a new queue
5253
let graphQueue: Queue<Vertex> = Queue<Vertex>()
5354

54-
5555
//queue a starting vertex
5656
graphQueue.enQueue(startingv)
5757

58-
5958
while !graphQueue.isEmpty() {
6059

6160
//traverse the next queued vertex
6261
let vitem = graphQueue.deQueue() as Vertex!
6362

64-
6563
//add unvisited vertices to the queue
6664
for e in vitem.neighbors {
6765
if e.neighbor.visited == false {
@@ -70,24 +68,20 @@ Example
7068
}
7169
}
7270

73-
7471
vitem.visited = true
7572
print("traversed vertex: \(vitem.key!)..")
7673

77-
7874
} //end while
7975

80-
8176
print("graph traversal complete..")
8277

83-
8478
} //end function
8579
```
8680

8781
Getting Started
8882
--------------------
8983

90-
Swift Structures has been optimized for Xcode 6.3 (e.g., Swift 1.2) or later. The directories are organized as follows:
84+
Swift Structures has been optimized for Xcode 7.0 GM Seed (e.g., Swift 2.0) or later. The directories are organized as follows:
9185
+ Source - Code for all Swift data structures and algorithms
9286
+ Example - An empty iOS single-view application template
9387
+ SwiftTests - Unit tests with XCTest Framework

0 commit comments

Comments
 (0)