[Commit] nickle/examples Makefile.am, 1.2, 1.3 apsp.5c, 1.2, 1.3 comb.5c, 1.3, 1.4 cribbage.5c, 1.1, 1.2 erat.5c, 1.1, 1.2 google-puzzle.5c, 1.4, 1.5 initializer.5c, 1.1, 1.2 is-prime.5c, 1.2, 1.3 kaiser.5c, 1.4, 1.5 menace2.5c, 1.7, 1.8

Keith Packard commit at keithp.com
Mon Nov 15 11:31:44 PST 2004


Committed by: keithp

Update of /local/src/CVS/nickle/examples
In directory home.keithp.com:/tmp/cvs-serv25488/examples

Modified Files:
	Makefile.am apsp.5c comb.5c cribbage.5c erat.5c 
	google-puzzle.5c initializer.5c is-prime.5c kaiser.5c 
	menace2.5c 
Log Message:
2004-11-15  Keith Packard  <keithp at keithp.com>

	* examples/Makefile.am:
	* examples/apsp.5c:
	* examples/comb.5c:
	* examples/cribbage.5c:
	* examples/erat.5c:
	* examples/google-puzzle.5c:
	* examples/initializer.5c:
	* examples/is-prime.5c:
	* examples/kaiser.5c:
	* examples/menace2.5c:
	Add licensing information to some of the examples


Index: Makefile.am
===================================================================
RCS file: /local/src/CVS/nickle/examples/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile.am	29 Jul 2004 00:23:32 -0000	1.2
+++ Makefile.am	15 Nov 2004 19:31:41 -0000	1.3
@@ -27,6 +27,6 @@
 
 exampledir=$(pkgdatadir)/examples
 
-example_DATA=$(NICKLEFILES)
+example_DATA=$(NICKLEFILES) COPYING
 
 EXTRA_DIST=$(NICKLEFILES)

Index: apsp.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/apsp.5c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- apsp.5c	22 Aug 2004 23:45:32 -0000	1.2
+++ apsp.5c	15 Nov 2004 19:31:41 -0000	1.3
@@ -2,7 +2,9 @@
  * All-Pairs Shortest Path Computation
  * using Floyd-Warshall O(n**3) method
  *  CLR 2nd ed p. 632
- * Bart Massey 2004/06
+ * Copyright © 2004 Bart Massey.
+ * All Rights Reserved.  See the file COPYING in this directory
+ * for licensing information.
  */
 namespace APSP {
     public typedef real distance;

Index: comb.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/comb.5c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- comb.5c	8 Apr 2001 19:51:49 -0000	1.3
+++ comb.5c	15 Nov 2004 19:31:41 -0000	1.4
@@ -1,6 +1,8 @@
 /*
  * Basic combinatorics
- * Bart Massey 1995..2001
+ * Copyright © 1995-2001 Bart Massey.
+ * All Rights Reserved.  See the file COPYING in this directory
+ * for licensing information.
  */
 
 namespace Comb {

Index: cribbage.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/cribbage.5c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- cribbage.5c	12 Apr 2001 08:23:11 -0000	1.1
+++ cribbage.5c	15 Nov 2004 19:31:41 -0000	1.2
@@ -1,7 +1,10 @@
 /*
  * Cribbage scoring aid
  * Counts only runs and 15s
- * Bart Massey (1997?)
+ *
+ * Copyright © 1997 Bart Massey.
+ * All Rights Reserved.  See the file COPYING in this directory
+ * for licensing information.
  */
 
 namespace Cribbage {

Index: erat.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/erat.5c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- erat.5c	16 Sep 2002 06:54:28 -0000	1.1
+++ erat.5c	15 Nov 2004 19:31:41 -0000	1.2
@@ -1,3 +1,8 @@
+/*
+ * Copyright © 2002  Bart Massey.
+ * All Rights Reserved.  See the file COPYING in this directory
+ * for licensing information.
+ */
 bool[*] make_sieve(int size) {
   bool[size] sieve = {true ...};
   for (int k = 2; k < size; k++) {

Index: google-puzzle.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/google-puzzle.5c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- google-puzzle.5c	17 Sep 2004 08:05:16 -0000	1.4
+++ google-puzzle.5c	15 Nov 2004 19:31:41 -0000	1.5
@@ -6,6 +6,11 @@
 # Uses Miller-Rabin to check candidates drawn
 # from the first 10K digits of e as printed at
 #   http://sources.wikipedia.org/wiki/E_to_10%2C000_places
+#
+# Copyright © 2004 Bart Massey.
+# All Rights Reserved.  See the file COPYING in this directory
+# for licensing information.
+#
 
 import String;
 

Index: initializer.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/initializer.5c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- initializer.5c	6 Apr 2001 00:27:08 -0000	1.1
+++ initializer.5c	15 Nov 2004 19:31:41 -0000	1.2
@@ -1,5 +1,9 @@
 /*
  * An example of initializers and scoping rules
+ *
+ * Copyright © 2001 Keith Packard
+ * All Rights Reserved.  See the file COPYING in this directory
+ * for licensing information.
  */
 
 continuation	c;

Index: is-prime.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/is-prime.5c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- is-prime.5c	16 Sep 2002 23:49:19 -0000	1.2
+++ is-prime.5c	15 Nov 2004 19:31:41 -0000	1.3
@@ -3,6 +3,10 @@
  * Agrawal, Kayal, and Saxena's
  * deterministic polytime primality test
  *
+ * Copyright © 2002  Bart Massey.
+ * All Rights Reserved.  See the file COPYING in this directory
+ * for licensing information.
+ *
  * Bart Massey 2002/8/16
  */
 

Index: kaiser.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/kaiser.5c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- kaiser.5c	22 Mar 2001 04:28:56 -0000	1.4
+++ kaiser.5c	15 Nov 2004 19:31:41 -0000	1.5
@@ -1,6 +1,9 @@
 /*
  * Kaiser Window digital filter
- * Keith Packard 2001
+ *
+ * Copyright © 2001, Keith Packard
+ * All Rights Reserved.  See the file COPYING in this directory
+ * for licensing information.
  */
 
 real function i0(real x)

Index: menace2.5c
===================================================================
RCS file: /local/src/CVS/nickle/examples/menace2.5c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- menace2.5c	26 May 2004 08:11:10 -0000	1.7
+++ menace2.5c	15 Nov 2004 19:31:41 -0000	1.8
@@ -8,6 +8,11 @@
  * MENACE2 is a simulation of this system in Nickle.
  *   http://www.cs.pdx.edu/~bart/cs541-fall2001/homework/3-learn.html
  *
+ *
+ * Copyright © 2001  Bart Massey.
+ * All Rights Reserved.  See the file COPYING in this directory
+ * for licensing information.
+ *
  * Bart Massey 2001/11/21
  */
 




More information about the Commit mailing list