(svn r13452) [NoAI] -Fix: minor coding style. Also, BinaryHeap is based on work by GeekToo! noai
authortruebrain
Tue, 10 Jun 2008 19:41:54 +0000
branchnoai
changeset 10901 d1a6a2dff88e
parent 10900 90b1d2fbb899
child 10902 57b380ee1607
(svn r13452) [NoAI] -Fix: minor coding style. Also, BinaryHeap is based on work by GeekToo!
bin/ai/library/queue/binary_heap/main.nut
bin/ai/library/queue/priority_queue/main.nut
--- a/bin/ai/library/queue/binary_heap/main.nut	Tue Jun 10 19:11:30 2008 +0000
+++ b/bin/ai/library/queue/binary_heap/main.nut	Tue Jun 10 19:41:54 2008 +0000
@@ -10,7 +10,8 @@
 	_queue = null;
 	_count = 0;
 
-	constructor() {
+	constructor()
+	{
 		this._queue = [];
 	}
 
--- a/bin/ai/library/queue/priority_queue/main.nut	Tue Jun 10 19:11:30 2008 +0000
+++ b/bin/ai/library/queue/priority_queue/main.nut	Tue Jun 10 19:41:54 2008 +0000
@@ -1,11 +1,12 @@
 /* $Id$ */
 
 /**
- * Priority Queue
+ * Priority Queue.
  *  Peek and Remove always return the current lowest value in the list.
  *  Sort is done on insertion only.
  */
-class PriorityQueue {
+class PriorityQueue
+{
 	_queue = null;
 	_count = 0;