diff options
author | wulf <wulf@pkgsrc.org> | 2001-06-28 15:18:03 +0000 |
---|---|---|
committer | wulf <wulf@pkgsrc.org> | 2001-06-28 15:18:03 +0000 |
commit | b9bfaf3c8b2959719469205512cc359bfb0d452c (patch) | |
tree | 8ecc5abd0d8af067f0187ace6977c4b3ccd57756 | |
parent | 4b9a27b32922b8d734a96c54b7297b105550a165 (diff) | |
download | pkgsrc-b9bfaf3c8b2959719469205512cc359bfb0d452c.tar.gz |
Initial import of snns-4.2: A software simulator for neural networks
-rw-r--r-- | math/snns/Makefile | 34 | ||||
-rw-r--r-- | math/snns/distinfo | 6 | ||||
-rw-r--r-- | math/snns/patches/patch-aa | 17 | ||||
-rw-r--r-- | math/snns/patches/patch-ab | 14 | ||||
-rw-r--r-- | math/snns/pkg/DESCR | 6 | ||||
-rw-r--r-- | math/snns/pkg/MESSAGE | 9 | ||||
-rw-r--r-- | math/snns/pkg/PLIST | 179 |
7 files changed, 265 insertions, 0 deletions
diff --git a/math/snns/Makefile b/math/snns/Makefile new file mode 100644 index 00000000000..2f49fb18f5f --- /dev/null +++ b/math/snns/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/06/28 15:18:03 wulf Exp $ + +DISTNAME= SNNSv4.2 +PKGNAME= snns-4.2 +CATEGORIES= misc +MASTER_SITES= http://www-ra.informatik.uni-tuebingen.de/downloads/SNNS/ + +MAINTAINER= wulf@netbsd.org +HOMEPAGE= http://www-ra.informatik.uni-tuebingen.de/SNNS/ +COMMENT= Software simulator for neural networks + +GNU_CONFIGURE= YES +CONFIGURE_ARGS= --enable-global --prefix=${LOCALBASE} + +XGUILOADPATH= ${LOCALBASE}/share/snns + +post-install: + ${INSTALL_DATA_DIR} ${XGUILOADPATH}; + ${INSTALL_DATA_DIR} ${LOCALBASE}/share/snns; + ${INSTALL_DATA_DIR} ${LOCALBASE}/share/doc/snns; + ${INSTALL_DATA_DIR} ${LOCALBASE}/share/examples/snns; + ${INSTALL_DATA} ${WRKSRC}/help.hdoc ${XGUILOADPATH}; + ${INSTALL_DATA} ${WRKSRC}/default.cfg ${XGUILOADPATH}; + cd ${WRKSRC} && ${MAKE} install-man; + for i in `ls -1 ${WRKSRC}/tools/doc`; do \ + ${INSTALL_DATA} ${WRKSRC}/tools/doc/$$i \ + ${LOCALBASE}/share/doc/snns; \ + done + for i in `ls -1 ${WRKSRC}/examples`; do \ + ${INSTALL_DATA} ${WRKSRC}/examples/$$i \ + ${LOCALBASE}/share/examples/snns; \ + done + +.include "../../mk/bsd.pkg.mk" diff --git a/math/snns/distinfo b/math/snns/distinfo new file mode 100644 index 00000000000..34838776ed1 --- /dev/null +++ b/math/snns/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/06/28 15:18:03 wulf Exp $ + +SHA1 (SNNSv4.2.tar.gz) = ccdb91681e43bce68c90558bbf103e7f6417e3fc +Size (SNNSv4.2.tar.gz) = 2170375 bytes +SHA1 (patch-aa) = eade9e14cbf65fa45cd06d84f15a64751c9f2adf +SHA1 (patch-ab) = abbd8f6c7c0d3c97d1064a9910ce884e05c65b8c diff --git a/math/snns/patches/patch-aa b/math/snns/patches/patch-aa new file mode 100644 index 00000000000..87b7e9aa8a8 --- /dev/null +++ b/math/snns/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/06/28 15:18:05 wulf Exp $ + +--- kernel/sources/kr_typ.h.orig Wed Jun 27 19:38:31 2001 ++++ kernel/sources/kr_typ.h Wed Jun 27 19:44:26 2001 +@@ -30,6 +30,12 @@ + + #################################################*/ + ++#ifdef __NetBSD__ ++#include <limits.h> ++#define MAXSHORT USHRT_MAX ++#define MAXINT INT_MAX ++#endif ++ + #ifdef __BORLANDC__ + + #ifndef strdup diff --git a/math/snns/patches/patch-ab b/math/snns/patches/patch-ab new file mode 100644 index 00000000000..5e6c3a4021a --- /dev/null +++ b/math/snns/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/06/28 15:18:05 wulf Exp $ + +--- xgui/sources/ui_config.c.orig Wed Jun 27 21:21:41 2001 ++++ xgui/sources/ui_config.c Wed Jun 27 21:23:08 2001 +@@ -492,7 +492,8 @@ + err = fscanf(filePtr,"%*[^:]: %d\n", &noParams); + chkretline(1); + lines++; +- for (i=0; (i<UI_NO_LEARN_PARAMS+UI_NO_OF_CASCADE_PARAMS); i++){ ++ for (i=0; (i<UI_NO_LEARN_PARAMS+UI_NO_OF_CASCADE_PARAMS) ++ && (i<noParams); i++){ + err = fscanf(filePtr,"%*[^:]: %f\n", &ui_learnParameters[i]); + chkretline(1); + lines++; diff --git a/math/snns/pkg/DESCR b/math/snns/pkg/DESCR new file mode 100644 index 00000000000..ed20b8d98f1 --- /dev/null +++ b/math/snns/pkg/DESCR @@ -0,0 +1,6 @@ +SNNS (Stuttgart Neural Network Simulator) is a software simulator for +neural networks on Unix workstations developed at the Institute for +Parallel and Distributed High Performance Systems (IPVR) at the +University of Stuttgart. The goal of the SNNS project is to create +an efficient and flexible simulation environment for research on +and application of neural nets. diff --git a/math/snns/pkg/MESSAGE b/math/snns/pkg/MESSAGE new file mode 100644 index 00000000000..5bdfe476308 --- /dev/null +++ b/math/snns/pkg/MESSAGE @@ -0,0 +1,9 @@ +====================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 2001/06/28 15:18:05 wulf Exp $ + +Please set the following variable in your shell environment, which +is required by the xgui application to find its configuration file: + + XGUILOADPATH to ${LOCALBASE}/share/snns + +====================================================================== diff --git a/math/snns/pkg/PLIST b/math/snns/pkg/PLIST new file mode 100644 index 00000000000..60f9c7e4472 --- /dev/null +++ b/math/snns/pkg/PLIST @@ -0,0 +1,179 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/28 15:18:05 wulf Exp $ +bin/xgui +bin/analyze +bin/pat_sel_simple +bin/mkhead +bin/mkout +bin/mkpat +bin/snns2c +bin/pat_sel +bin/netlearn +bin/td_bignet +bin/ff_bignet +bin/netperf +bin/snnsbat +bin/feedback-gennet +bin/convert2snns +bin/isnns +bin/linknets +bin/batchman +share/snns/default.cfg +share/snns/help.hdoc +share/examples/snns/README.all +share/examples/snns/art1_letters.README +share/examples/snns/art1_letters.cfg +share/examples/snns/art1_letters.net +share/examples/snns/art1_letters.pat +share/examples/snns/art1_letters3D.cfg +share/examples/snns/art2_tetra.README +share/examples/snns/art2_tetra.cfg +share/examples/snns/art2_tetra.net +share/examples/snns/art2_tetra.pat +share/examples/snns/art2_tetra_high.pat +share/examples/snns/art2_tetra_low.pat +share/examples/snns/art2_tetra_med.pat +share/examples/snns/artmap.README +share/examples/snns/artmap.cfg +share/examples/snns/artmap.net +share/examples/snns/artmap_test.pat +share/examples/snns/artmap_train.pat +share/examples/snns/bdg_TDNN.README +share/examples/snns/bdg_TDNN.cfg +share/examples/snns/bdg_TDNN.chk +share/examples/snns/bdg_TDNN.net +share/examples/snns/bdg_TDNN.pat +share/examples/snns/bdg_TDNN_untrained.net +share/examples/snns/bdg_variable.pat +share/examples/snns/default.cfg +share/examples/snns/dlvq_ziff.README +share/examples/snns/dlvq_ziff.cfg +share/examples/snns/dlvq_ziff.chk +share/examples/snns/dlvq_ziff.net +share/examples/snns/dlvq_ziff_100.pat +share/examples/snns/dlvq_ziff_trained.net +share/examples/snns/dlvq_ziff_untrained.net +share/examples/snns/eight_016.pat +share/examples/snns/eight_160.pat +share/examples/snns/eight_elman.README +share/examples/snns/eight_elman.cfg +share/examples/snns/eight_elman.chk +share/examples/snns/eight_elman.net +share/examples/snns/eight_elman_untrained.net +share/examples/snns/eight_jordan.README +share/examples/snns/eight_jordan.cfg +share/examples/snns/eight_jordan.chk +share/examples/snns/eight_jordan.net +share/examples/snns/eight_jordan_untrained.net +share/examples/snns/encoder.README +share/examples/snns/encoder.cfg +share/examples/snns/encoder.chk +share/examples/snns/encoder.net +share/examples/snns/encoder.pat +share/examples/snns/encoder_untrained.net +share/examples/snns/font.README +share/examples/snns/font.cfg +share/examples/snns/font.chk +share/examples/snns/font.net +share/examples/snns/font.pat +share/examples/snns/font_untrained.net +share/examples/snns/laser.README +share/examples/snns/laser.cfg +share/examples/snns/laser.chk +share/examples/snns/laser.net +share/examples/snns/laser_1000.pat +share/examples/snns/laser_999.pat +share/examples/snns/laser_untrained.net +share/examples/snns/letseq.README +share/examples/snns/letseq.chk +share/examples/snns/letseq_elman.cfg +share/examples/snns/letseq_elman.net +share/examples/snns/letseq_elman_untrained.net +share/examples/snns/letseq_h_elm.cfg +share/examples/snns/letseq_h_elm.net +share/examples/snns/letseq_test.pat +share/examples/snns/letseq_train.pat +share/examples/snns/letters.README +share/examples/snns/letters.cfg +share/examples/snns/letters.chk +share/examples/snns/letters.net +share/examples/snns/letters.pat +share/examples/snns/letters.res +share/examples/snns/letters3D.cfg +share/examples/snns/letters3D.net +share/examples/snns/letters_auto.pat +share/examples/snns/letters_untrained.net +share/examples/snns/letters_with_classes.pat +share/examples/snns/nettalk.README +share/examples/snns/nettalk.cfg +share/examples/snns/nettalk.net +share/examples/snns/nettalk.pat +share/examples/snns/nettalk_thr.net +share/examples/snns/patmat.README +share/examples/snns/patmat.cfg +share/examples/snns/patmat.chk +share/examples/snns/patmat.net +share/examples/snns/patmat.pat +share/examples/snns/patmat_untrained.net +share/examples/snns/rpropMAP.net +share/examples/snns/snnsbat1.cfb +share/examples/snns/snnsbat2.cfb +share/examples/snns/som_cube.README +share/examples/snns/som_cube.cfg +share/examples/snns/som_cube.cont +share/examples/snns/som_cube.net +share/examples/snns/som_cube.pat +share/examples/snns/som_cube_norm.pat +share/examples/snns/spirals.pat +share/examples/snns/spirals_dda.README +share/examples/snns/spirals_dda.cfg +share/examples/snns/spirals_dda.net +share/examples/snns/sprach_test.pat +share/examples/snns/sprach_train.pat +share/examples/snns/testMAP.pat +share/examples/snns/trainMAP.pat +share/examples/snns/trainValidMAP.pat +share/examples/snns/validMAP.pat +share/examples/snns/watch.README +share/examples/snns/watch.cfg +share/examples/snns/watch.net +share/examples/snns/watch.pat +share/examples/snns/watch_2out.README +share/examples/snns/watch_2out.cfg +share/examples/snns/watch_2out.net +share/examples/snns/watch_2out.pat +share/examples/snns/watch_edge.pgm +share/examples/snns/watch_edge_invert.pgm +share/examples/snns/watch_orig.pgm +share/examples/snns/xor.README +share/examples/snns/xor.chk +share/examples/snns/xor.net +share/examples/snns/xor.pat +share/examples/snns/xor_rec.cfg +share/examples/snns/xor_rec.net +share/examples/snns/xor_rec1.pat +share/examples/snns/xor_rec2.pat +share/examples/snns/xor_untrained.net +man/man1/analyze.1 +man/man1/batchman.1 +man/man1/ff_bignet.1 +man/man1/isnns.1 +man/man1/linknets.1 +man/man1/snns.1 +man/man1/snns2c.1 +man/man1/td_bignet.1 +man/man1/xgui.1 +share/doc/snns/analyze.doc +share/doc/snns/bignet.doc +share/doc/snns/convert2snns.doc +share/doc/snns/feedback-gennet.doc +share/doc/snns/m_art.doc +share/doc/snns/mkhead.doc +share/doc/snns/mkout.doc +share/doc/snns/mkpat.doc +share/doc/snns/netlearn.doc +share/doc/snns/netperf.doc +share/doc/snns/pat_sel.doc +share/doc/snns/snnsbat.doc +@dirrm share/examples/snns +@dirrm share/doc/snns +@dirrm share/snns |