From 09917c74aa0931c2d54956bc1e66984d0754ec3e Mon Sep 17 00:00:00 2001 From: Wayne Bishop Date: Fri, 11 Sep 2015 14:33:28 -0700 Subject: [PATCH] Updated ReadeME.md.. - additional notes and updates.. --- README.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 135dca3..4da2bd8 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ The project features code-level examples for the following items: + Generics + Closures + Hash Tables ++ Bloom Filters + Binary Search Trees + Tree Balancing (Rotations) + Tries @@ -35,9 +36,9 @@ The project features code-level examples for the following items: + Depth-First Search + Breadth-First Search -Online, Print & PDF +The Book -------------------- -Available in print or pdf format, The Swift Algorithms Book features code and color illustrations that will benefit students and professionals. People are also welcome to follow the project through Github or online at waynewbishop.com/swift. As a collaborative open-source effort, I welcome feedback and contribution from others. +Available in print or pdf format, The Swift Algorithms Book features code and color illustrations that will benefit students and professionals. As a collaborative open-source effort, I also welcome feedback and contribution from others. Example @@ -51,17 +52,14 @@ Example //establish a new queue let graphQueue: Queue = Queue() - //queue a starting vertex graphQueue.enQueue(startingv) - while !graphQueue.isEmpty() { //traverse the next queued vertex let vitem = graphQueue.deQueue() as Vertex! - //add unvisited vertices to the queue for e in vitem.neighbors { if e.neighbor.visited == false { @@ -70,24 +68,20 @@ Example } } - vitem.visited = true print("traversed vertex: \(vitem.key!)..") - } //end while - print("graph traversal complete..") - } //end function ``` Getting Started -------------------- -Swift Structures has been optimized for Xcode 6.3 (e.g., Swift 1.2) or later. The directories are organized as follows: +Swift Structures has been optimized for Xcode 7.0 GM Seed (e.g., Swift 2.0) or later. The directories are organized as follows: + Source - Code for all Swift data structures and algorithms + Example - An empty iOS single-view application template + SwiftTests - Unit tests with XCTest Framework