-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.1.2
2479 lines (1832 loc) · 105 KB
/
ChangeLog.1.2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Wed Apr 22 15:38:16 1997 Randall O'Reilly <[email protected]>
* Version 1.12 Released!!:
Fri Apr 18 12:07:39 1997 Randall O'Reilly <[email protected]>
* src/ta/taiv_data.cc (taivGetFile): *finally* figured out why
gzipped project files always have trailing garbage: in all the
things that happen with forking and passing of file descriptors,
the file never gets properly closed, so if the previous file was
larger than the new one, it never shrinks to the proper size.
fixed this by removing the previous file before saving to it.
Wed Apr 16 21:37:46 1997 Randall O'Reilly <[email protected]>
* css/include/grid_wt_mat.css: css script that displays a matrix
of weight matricies for a set of units within a layer in a GridLog.
* src/pdp/netstru.h,.cc (Con_Group): added ConValuesToArray, which
is just like UnitValuesToArray for Unit_Group: adds connection
values (eg. weights) to the given array. useful for script
operations on weights.
* also added ConValuesFromArray, and UnitValuesFromArray, which
set unit/con values from the array.
Fri Apr 11 18:46:47 1997 Randall O'Reilly <[email protected]>
* src/pdp/netstru_extra.cc,.h (TesselPrjnSpec): changed 'link'
(for weight linking) to an enum supporting GP_LINK in addition to
exisiting UN_LINK (and NO_LINK). GP_LINK shares weights among an
entire recv_group of units, where the 1st unit in each group has
the same weights, etc. this is much more useful than the UN_LINK
(old link), which has every unit using the same weights!
* src/css/basic_types.cc,.h (cssPtr): fixed assignment of a
pointer from a multi-dimensioned array, which was broken by
typechecking that was confused by pointers to pointers or arrays
of arrays.
Thu Apr 3 13:41:04 1997 Randall O'Reilly <[email protected]>
* src/pdp/enviro.cc,.h (PatternSpec): added Value and Flag
functions, which add a level of indirection in accessing the
underlying values and flags for patterns. These should be used
for visualization and most other uses of the patterns, which can
be reordered by different pattern specs (eg. GroupPatternSpec).
(Event): added 'PresentEvent' function (as a #BUTTON), which
prompts for a TrialProcess, and will re-init (or new-init) the
process and present the selected event. this makes it a lot
easier to test the network with events of the user's choosing:
just open up the enviroview, select an event with the right mouse
button, and hit the 'PresentEvent' button, and away you go!
* src/pdp/enviro_extra.cc.h (GroupPatternSpec): this causes the
pattern values stored contiguously in the 'value' array to appear
in a matrix of sub-groups, so that patterns presented to layers
with sub-unit group structure will appear the same in the
enviroview as they do on the network.
Mon Mar 31 16:16:05 1997 Randall O'Reilly <[email protected]>
* src/pdp/process.cc: make ControlPanel safe (but pointless) for
-nogui.
* src/ta_misc/win_base.cc: changed view naming to more reliably
name views after the names of their manager objects (searches for
_# where # is index of view within .views group -- if found,
updates name).
Sun Mar 30 15:32:06 1997 Randall O'Reilly <[email protected]>
* src/cs/cs.cc: added a ModifyState function with 'modify_decay'
parameter for CsUnitSpec -- decays activity towards the
initial_act value.
* src/pdp/netstru.h,.cc: propagated ModifyState function down to
the UnitSpec, so that algorithms can just override this (it was at
the Layer level).
Sat Mar 29 19:43:22 1997 Randall O'Reilly <[email protected]>
* src/ta_misc/win_base.cc: changed Link to LinkUnique for putting
items on the update_winpos list..
* src/*: changed Borrow to BorrowUnique for all Copy_ functions
that have LINK_GROUP's, since you don't want to end up with
duplicated linked items..
Fri Mar 28 15:58:24 1997 Randall O'Reilly <[email protected]>
* src/pdp/procs_extra.cc (ClosestEventStat): Added 'sm_nm', which
takes on a 0 or 1 value depending on if the 'ev_nm' matches the
current event name from the trial process or not.
* src/pdp/netstru.cc,.h: Added LesionUnits to Unit_Group, Layer,
and Network. Works just like LesionCons.
Tue Mar 25 17:49:04 1997 Randall O'Reilly <[email protected]>
* src/css/ta_css.cc: char c; strm >> c; now treats 'c' like a
char, instead of an int.
* src/so/som.cc (SomLayerSpec): Fixed div by zero in
LinearKernelActs, and corrected GaussianKernelActs to use squared
distance, not sqrt of distance.
Sat Mar 22 15:05:23 1997 Randall O'Reilly <[email protected]>
* src/ta/taiv_data.cc: method buttons (ie., non apply, cancel, etc
buttons) on dialogs are now in an ivCompositor, so they wrap
around to the next line if they don't all fit on one..
* src/pdp/netstru_extra.cc: updated Tessel and Random to use the
new FindUnitFmCoord function, so that they work transparently with
both flat and subgrouped layers.
* src/pdp/netstru.cc (Unit_Group, Layer): added 'FindUnitFmCoord',
which finds a unit located at given coordinates (or returns NULL
if there isn't one), taking into account unit group geometry if
present.
Tue Mar 18 13:07:02 1997 Chadley Kaye Dawson <[email protected]>
* src/pdp/enviro.cc (Environment::ReadOldPDP): added comment
directives "# startgroup" and "# endgroup" so that you can control
the creataion and organization of subgroups of events. See
Documentation.
Tue Mar 18 17:00:56 1997 Randall O'Reilly <[email protected]>
* src/pdp/netstru_extra.cc: Tessel and Random now both use
act_geom of a layer, instead of geom, so that they work with
layers with subgroups of units the same as those without.
Sat Mar 15 13:38:25 1997 Randall O'Reilly <[email protected]>
* src/pdp/netstru.cc (NetView): fixed script recording for
view:selections menu 'set' operations. Also added
'GetSelectGroup' and 'GetPickGroup' to get access to objects on
selected list via css.
* src/ta/taiv_data.cc (taivMethMenu::GenerateScript): added new
method comment directive, NO_SCRIPT, which does not generate
script code for calling that function.
* src/pdp/pdp_iv.cc (ProcNewDialog, StatNewDialog): added a dialog
for creating new processes, which is called by new menu item in
'.processes' menu of the project (just like New Stat). Also added
saving and reusing of parameters for subsequent calls for both
dialog types. Stat does not save the in_process, because it is
computed automatically.
* src/pdp/sched_proc.cc (SchedProcess): added final_procs
(finally), which provides a way to run misc processes at the end
of a process. in theory this can also be done by putting a
process in the loop_procs of the higher-level process, but is
often much more conceptually clear to put it at the same level as
the relevant process. updated all the C_Code which now should
call FinalProcs() just before FinalStats();
* src/pdp/net_iv.cc (NetEditor_NewMStat): save and reuse previous
parameters for subsequent calls of the 'New MonitorStat' dialog in
NetView.
Fri Mar 7 11:49:12 1997 Randall O'Reilly <[email protected]>
* src/css/css_parse.y: it was impossible to declare a css array of
hard-coded (non css) objects, because the pointers were being
ignored, and a cssTA type was always being created. fixed this so
that a declaration with 2 (or more) pointers gives a cssPtr to
given hard-coded object type: Unit** un = new Unit[12]; will now
work properly, and create a css array of 12 units, and un will
point to it properly, etc.
also fixed bug where explicit calling of a member function did not
pass the 'this' argument properly (ie., when a derived class
virtual function tries to call the parent: Parent::fun()).
also removed warning about redefining default arg types, since it
was often spurious with virtual functions.
Wed Mar 5 19:25:39 1997 Randall O'Reilly <[email protected]>
* demo/bench/pdp++bench/pdp++bench: fixed some bugs in this
benchmark (wts were not being initialized before running!), and
updated some results for various machines in CURRENT_RESULTS,
marked the rest as old (*).
* src/pdp/netstru.cc (UnitSpec::InitWtState): need to call
C_InitWtDelta for the bias weights too. The fact that this wasn't
being done means that the initial weight change for bias weights
incorporated any remaining dwt value from previous training (i.e.,
only likely in batch mode training).
Tue Mar 4 12:09:59 1997 Chadley Kaye Dawson <[email protected]>
* *HP800* Changed the old HP800 sysname to HP700. HP800 now
refers to an HP 9000/8XX (running at least HP-UX 10.2),
and HP700 refers to an HP 9000/7XX (running HP-UX 9.05).
Our particular HP800 system is an HP K-260 with 4 9000/879's
running HP-UX 10.2 Our particulare HP700 platform is an HP 735
with 1 9000/735 running HP-UX 9.05
Mon Feb 24 19:05:55 1997 Randall O'Reilly <[email protected]>
* src/pdp/stats.cc (MonitorStat): now naming 'mon' stats
(non-COPY) with the variable and object being monitored. also,
added support for Unit_Group's as monitored objects.
Tue Feb 18 14:26:19 1997 Randall O'Reilly <[email protected]>
* major change: all Replicate functions were removed, since their
functionality ended up being completely redundant with the Copy
function. as originally written, copy was supposed to make links
into existing substructure, instead of fully replicating it. this
turned out to be a really bad idea, and instances of it were
slowly replaced, so that in the end, it was doing the same thing
as replicate. the only time 'Borrow' is used to copy groups now
is when they are 'LINK_GROUP's otherwise all elements should be
copied with a simple =. as before, a Copy_ function can be defined,
and the macro COPY_FUNS used to call the parent function.
* src/ta_misc/datatable_tmplt.h: changed Copy behavior of
DataArray template object to create a new 'ar' member if NULL, and
then do a simple copy of the items, as opposed to making an actual
link to the ar of the source.
* src/ta_misc/aggregate.h (PreProcessVals): renamed PreProcessVals
to SimpleMathSpec, which is much more accurate, and added GTEQ,
LTEQ, and GTLTEQ as operators, which ensure that values are
greater-than-or-equal to arg, less-than-or-equal to arg, or both
(compared to lw, hi, respectively). also renamed 'type' to 'opr'.
* src/ta_misc/datatable.cc,h (float_RArray): added AbsMaxVal,
NormMax, and NormAbsMax functions. useful for rescaling values.
renamed 'PreProcess' function 'SimpleMath' to better reflect its
function.
Mon Feb 17 15:37:06 1997 Randall O'Reilly <[email protected]>
* demo/cs: fixed the cxor.proj.gz, and jets-n-sharks.proj.gz
projects to load correctly without warnings.
* src/cs/cs.cc: fixed the TIGStat to look for a generic
TrialProcess instead of a CsTrial, so that it can work off of
either a CsTrial or a CsSample stat.
Fri Feb 14 13:34:45 1997 Randall O'Reilly <[email protected]>
* src/pdp/netstru_extra.cc,h:
(RandomPrjnSpec): rewrote to use a polar-coordinate computation of
connections, with two random functions determining distance and
angle (all distributions now supported). p_con now determines the
total number of unique connections to make with these random
parameters, and 'max_retries' added to determine number of times
it tries to make connections before giving up (ie. because it is
trying to connect to the same units over and over). also added
'wrap' to allow for wraparound connectivity. init_wts here sets
weights equal to the probability of connecting.
(TesselPrjnSpec): added 'recv_group' parameters, which will group
together the indicated number of units and give them the same
sending connectivity pattern (ie., their sending offset is
'modulo' these values). init_wts here sets weights to wt_val
specified in the TesselEl's
* src/ta/*, src/css/*: replaced most 'uint' args/variables with
int's, so that the -Wall flag can be used in g++ without getting
all those signed/unsigned warnings.. there wasn't really any
coherent use of uint anyway, and ints are always getting bigger..
* src/ta_misc/random.h: added density functions for all supported
distributions, and a general 'Density' function, which gives the
probability density under current parameters of its argument.
* src/ta_misc/tdgeometry.h: added Dist and SqDist functions to all
coord objects. also made all operators appropriately const,
derived three-d from two d, and added float to int converters.
added WrapClip to twod.
Fri Feb 14 10:31:49 1997 Randall C. O'Reilly <[email protected]>
* src/pdp/netstru.h (ConSpec): added Con_Group as arg to all
virtual C_ functions on the conspec (non-virtuals can be easily
changed to add this if needed in subsequent classes, but virtuals
cannot). also, new projection wt init will only call this one
virtual fun.
* src/pdp/netstru.cc,.h: added 'init_wts' flag on projectionspec,
which allows prjnspec to control weight init instead of the
conspec (conspec checks this flag and calls appropriate fctn).
this adds considerable flexibility in defining projection-wide
initial weight patterns.
Thu Feb 13 11:49:35 1997 Randall O'Reilly <[email protected]>
* src/css/basic_types.h: filled in some missing operators and
converters in cssRef, which are now passed on to the thing it
points to.
* src/css/machine.h: fixed an insidious bug where args to
functions were eaten in certain circumstances. added a cssElInCFun
object, which is derived from cssElCFun, and provides a faster and
non-arg_stop (void) expecting fixed-argc version of an internal C
function. this is used for all internal, explicitly called such
fctns (declared in css_builtin.cc), which did not (and do not)
have proper argstop padding before them.
* src/css/ta_css.cc: fixed crash from multiple use of menu items
taking TypeDef* args, by fixing cssTA::operator=(const String& s),
which was treating TypeDef's like taBase's!
* src/ta_misc/axis.cc: fixed last few remaining bugs for graphlogs
with zero-variance values (min==max), and when fixed range min ==
-max.
* src/pdp/pdplog.cc (TextLogView ShowMore, ShowLess): fixed a
reliable crashing bug which happened whenever a textlogview was
resized with existing text. now, you need to hit the Init button
in order to fill new screen size, but at least it doesn't crash!
* src/css/machine.cc (AddAuto, AddStatic): added a warning
message for redeclaration of same variable name in same context.
* src/pdp/enviro.cc (DistMatrix): added a precision argument, sets
precision of stream for outputting distances.
* src/ta/ta_list.h: El_Compare_ switched to a virtual function, so
that sorting direction, variable, etc can be redefined. Also
fixed sort to properly update all indicies after sorting (wasn't
before due to return -- added UpdateAllIndicies and Sort_ impl
fun).
Wed Jan 22 13:39:02 1997 Chad Dawson <[email protected]>
* lib/Makefile.in fixed the myiberty script so that it doesen't
try to make the myiberty library if $IBERTY_LIB is not
set to -lmyiberty
Sun Dec 29 22:33:46 1996 Randall O'Reilly <[email protected]>
* src/css/basic_types.h, cc: css enum assignment uses string value
if rhs is a string value.
Fri Dec 20 18:50:57 1996 Randall O'Reilly <[email protected]>
* src/pdp/sched_proc.cc (SchedProcess::GenLogData): fixed logging
of data with mod'ed stats, so that no output is generated as
appropriate, for both loop_stats and final_stats -- the
relationship between these was confused, and final_stats was
broken in this respect.
Wed Dec 18 17:25:07 1996 Randall O'Reilly <[email protected]>
* bin/mknewpdp: removed redundant 'cd $1' commands from script
(makefiles lose the cd after each line, but sh scripts don't..)
thanks to adam thomas ([email protected]) for this
fix.
Tue Dec 10 15:56:12 1996 Randall O'Reilly <[email protected]>
* src/pdp/procs_extra.cc (ClosestEventStat): rewrote layer_stat
code to properly deal with distance metrics which assign higher
values to closer patterns (e.g., correl, dot_prod, etc).
Mon Dec 9 17:52:50 1996 Randall O'Reilly <[email protected]>
* src/bp/rbp.cc, bp.cc: modified code to take advantage of new
MinMax functions, fixing a bug with seting the net value based on
clamped activation values (net = sig.Inverse(act), but act needs
to be Normalized first to the act_range).
* src/ta_misc/minmax.h: added several functions to the the MinMax
class: RangeTest[Eq], Scale(), operators >, <, <=, >=, and Project
(which de-normalizes a normalized value..).
Thu Dec 5 17:34:38 1996 Randall O'Reilly <[email protected]>
* src/pdp/enviro.h (Environment): fixed all of the environment
generation and distance matrix reporting functions to take two
arguments: the distance metric to use (as per below), and whether
this should be normalized distance. the functions which ensure
limits on randomly generated patterns automatically check the
directionality of the distance metric, and operate accordingly.
added a new function: GpDistArray, which gives the within and
between group distances as arrays for grouped events within the
environment. the various reporting functions (eg, Mean, Var, etc)
can be used to report information about these distances.
* src/pdp/procs_extra.h (ClosestEventStat, CompareStat): both of
these now use the DistMetric enum from the float_RArray as the
cmp_type, and call the new Dist function as described below.
* src/ta_misc/datatable.cc, h (float_RArray): changed the Dist
function to be a generalized distance function that calls any of
the available distance-like functions, according to the enum
DistMetric. Replaced the old Dist function with specific
SumSquaresDist, EuclidDist, and HammingDist. Also fixed the
normalization for these dist functions to be like that of the
InnerProd function -- a division at the end instead of
element-wise normalization which was used previously.
Tue Nov 19 15:36:41 1996 Randall O'Reilly <[email protected]>
* src/pdp/procs_extra.h (ClosestEventStat): added subgp_no, which
(if non -1) will only compare a sub-group of units activities, not
the whole layer.
Sat Nov 9 19:56:34 1996 Randall O'Reilly <[email protected]>
* src/css/css_parse.y: fixed a bug introduced by an earlier change
which attempted to fix the problem with declaring negative default
arg values -- this caused parsing problems with 'var-1' type exprs,
so it now parses -num as a number only in context of arg defn.
Tue Nov 5 18:32:30 1996 Randall O'Reilly <[email protected]>
* src/pdp/procs_extra.cc (MaxActTrgStat): added this new stat
which computes a 0-1 error function which is 1 if the unit with
the maximum activation also has a target value of 1, and 0
otherwise.
Mon Nov 4 16:31:46 1996 Randall O'Reilly <[email protected]>
* src/pdp/enviro_extra.cc,.h (XYSubPattern,Spec): added a new
patternspec and pattern type for presenting subsets of a large
pattern to a layer, where the offset within the pattern to present
to the layer is controlled by the offset parameters on the
pattern. this is in some sense the inverse of XYPatternSpec..
* src/pdp/enviro.cc,.h (Environment): added some more enviro
Generate routines to manage FlipBits with min and max distances
between other events, and a super-deluxe version for groups that
ensures min/max distances within a group, and a min distance
between different groups..
* src/css/basic_types.cc: added Load and Save builtin member
functions for classes, which now output and input a css-version of
a dump file. it works for arrays, subclasses, etc., but does not
handle pointers.
* src/css/css_iv.cc: added an edit-dialog interface for arrays,
which prompts for the index of the object to edit, then edits that
object.
Sun Nov 3 16:05:14 1996 Randall O'Reilly <[email protected]>
* src/css/css_parse.y: improved handling of scoped type
information, so that one can declare a variable of type
A::nested_type outside of the class scope, (and declare return
values to be of this type, etc).
Sat Nov 2 16:27:02 1996 Randall O'Reilly <[email protected]>
* src/css/basic_types.cc: cssEnum, cssEnumType, fixed enum classes
to deal with string conversion, etc. of enums better. also, had
two overlapping classes, cssEnum and cssEnumInst, which have been
merged into one unified class.
Arrays of enums now work (weren't being constructed properly..)
InheritsFrom builtin function now accepts string arg giving the name
of a css class to check for inheritance.
* src/css/css_parse.y: fixed a bug in switch statements which
prevented code following the switch from being run. also fixed
parsing of switches to allow for use of Enum case statments.
* src/css/machine.cc: cssMbrScriptFun::Define. This is now called
when the mbr fun is *declared* as well as when it is defined.
made more robust for this, also check for consistency between decl
and defn. this allows you to put all decls first, then defns (as
in a standard header-file, .cc file) and so that pure virtual
functions don't have to be defined, etc..
Thu Oct 31 14:54:01 1996 Randall O'Reilly <[email protected]>
* src/css/css_parse.y: fixed pre-declaration of class type (parser
wasn't groking it properly).
* src/css/basic_types.cc,h: changed cssClassType members to be of
type cssClassMember, which holds a pointer to the actual type of
the member, and has the name of the member itself. this avoids
having to duplicate entire class types when classes are included
as members of other classes.
Wed Oct 30 15:01:57 1996 Randall O'Reilly <[email protected]>
* src/ta/maketa.cc: fixed maketa to properly register typedefs of
simple combinations of builtin types (like uint) even if they are
previously defined elsewhere (ie in system includes).
Tue Oct 15 12:43:52 1996 Randall O'Reilly <[email protected]>
* src/ta_misc/win_base.cc: auto name view after manager (manager
name plus _idx where idx is index in .views group).
* src/ta_misc/axis.cc: set a minimum range for graphed data so
that lines with no range (all same value) still get plotted
correctly.
* src/ta_misc/fun_lookup.h: added FunLookup class in ta_misc,
which evaluates a function via a lookup table (and linear
interpolation), which can be much faster for certain functions,
and is especially convenient for non-analytic functions (such as
convolutions).
* src/ta/typea.cc: fixed dump file reader to allow reading of
strings which contain double-quotes. the magic terminating
sequence for a string is "; -- if this appears in the string, it
will terminate at that point. note that " ; will not be
terminated (white space matters at this point).
Wed Oct 9 21:13:59 1996 Randall O'Reilly <[email protected]>
* src/ta_misc/script_base.cc: fixed script UpdateReCompile to
recompile script_strings!
Thu Sep 12 12:57:29 1996 Randall O'Reilly <[email protected]>
* config/Makefile.*debug: for debugging versions, always set up a
DEFINES = -DCPU where CPU is the non-debug version of that machine
this saves having to duplicate all the ifdefs everywhere for both
debug and non-debug types!
* src/pdp/sched_proc.h,.cc: added FindProcOfType to SchedProcess,
which finds proc of a given type, including this proc, super and
sub procs
* src/ta_misc/win_base.h: made the views in a WinMgr #IN_GPMENU so
they show up as submenus of Mgr objects (like networks, enviros,
etc).
WinView: added NotifyAllUpdaters function, which notifies all
updaters that they are updating a given view.
* src/pdp/spec.h: provide a CheckType function in BaseSpec to just
query the type information, not the object itself.
* src/css/css_parse.y: now do parsing of comments as the class
itself is being parsed, instead of afterwards.
Wed Jul 24 16:41:21 1996 Randall C. O'Reilly <[email protected]>
* src/bp/rbp.cc,.h: modified RBpTrial to set the activations of
the units to the external input for any patterns presented on the
very first time step of processing (Compute_ClampExt()).
Tue Jul 23 14:25:27 1996 Randall C. O'Reilly <[email protected]>
* Makefile, config/Makefile.std: added stripBins, stripBin as make
targets for stripping the executable (top level is stripBins, each
directory gets stripBin).
Fri Jul 19 18:51:07 1996 Randall C. O'Reilly <[email protected]>
* src/css/ta_css.cc: fixed assignment of ios-derived pointers to
use proper conversion function before assignment so pointer is
correct. allows iostream* istr = (iostream*)fstr; where fstr is
an fstream, for example.
Wed Jul 17 17:06:40 1996 Randall C. O'Reilly (ro2m@hydra)
* src/css/basic_types.cc (cssClassType:): fixed InheritsFrom to
use strcmp on GetTypeName() (which is char*, not String).
Sat Jun 29 12:45:28 1996 Randal C. O'Reilly ([email protected])
* VERSION 1.11 RELEASED!
* src/ta/ta_group_iv.cc (gpivListNew:): changed order in which
#NEW_FUN functions are called when multiple objects created -- was
backwards for some reason!
* Makefile: added LINUX_Makefiles target which copies the
Makefile.in.LINUX files over to Makefile.in in css, iv_graphic,
ta_misc, and ta directories. These redefine OPT_FLAGS to be
blank, because optimization causes crashing with dynamic linking
in the current version of g++/linux (ta is -O, not -O2). This
target is automatically called in Makefiles if CPU = LINUX.
* src/ta/ta_list.cc: attempt to sort array/list of size <= 1
caused crash! this is now fixed.
* src/pdp/enviro.cc: adding event was not refreshing display,
causing crash potential.
* src/ta_misc/datatable_iv.cc: gridlog TEXT_BLOCK should have same
header as BLOCK.
Fri Jun 28 14:55:37 1996 Randal C. O'Reilly ([email protected])
* src/pdp/netstru.cc, pdplog.cc, enviro.cc: all automatic updates
of logs, netview, enviroview do not take place unless the window
IsMapped() (ie, not iconified). this also prevents the window
from mysteriously being un-iconified (so that when saved and
reloaded, it is not iconified..) this should also make things
faster if you should happen to iconify a non-toggled-off window.
* src/pdp/netstru.cc: updaters for netview now automatically
notified when loading network (so they update the view like they
should!)
Thu Jun 27 14:40:33 1996 Randal C. O'Reilly ([email protected])
* src/pdp/netstru_extra.cc, process_extra.cc: script objects now
named with script file name plus s_args values, so if you use same
script with different args, you can tell them apart.
* src/ta/mta_parse.y: fixed maketa to not generate bogus types
when redundant typedef is encountered.
* #ifdef OPT_MALLOC now surrounds calls to mallopt from all
main()'s, because it probably does more harm than good since it is
not called before 1st small block allocated..
* src/ta/ta_base.h: added a CopyFrom function to all taBase
objects, put it in the Object menu. automatically gets type of
arg from type of obj. this should make it easier for non-script
users to copy stuff around..
* src/ta/typea.cc (taMisc:): only save one recover file when first
X error is encountered.
* src/css/css_iv.cc: added CancelClassEdits and CancelObjEdits, to
cancel edit dialogs assoc with class types (when redefined) and
objects (when deleted, thought this is not automatically done by
default). Added CancelEditObj function to css functions -- will
cancel the edit of arg object.
* src/ta_misc/datatable_iv.cc: fixed the layout of use_gp_name
headers in GridLog displays, and optimized performance by reusing
space objects instead of constantly creating them.
* src/css/machine.cc (cssInst::SetInst): issue a warning in debug
>= 1 when refering to a hard-coded variable or function in a class
method or extern function, which is non-portable (this fun can not
be called from another ProgSpace after the defining one is killed).
* src/ta_misc/script_base.cc (ScriptBase:): Only do InstallThis
when the cssProgSpace is first created (no need to redo this later
and it interferes with things!).
* src/pdp/pdplog_iv.cc (GridLogView_IV_Impl): put the body of the
GridLog in a flexible, so that it can be arbitrarily resized.
Wed Jun 19 11:50:52 1996 Randal C. O'Reilly ([email protected])
* demo/bench: created a benchmarking directory with several pdp++
and related benchmarks. see the BENCH_RESULTS file for details.
* src/css/css_builtin.cc: added 'clock' function for more accurate
timing of cpu usage (benchmarking).
* src/pdp/stats.cc: MonitorStat::ScanConGroup, fixed bug that
prevented monitoring of all but the first con group (replaced
'return' with 'continue').
Wed Jun 12 17:31:32 1996 Randal C. O'Reilly ([email protected])
* src/ta/ta_group_iv.cc: linked items do not show IN_GPMENU stuff
(i.e., process loop_stats, spec children, etc). also, menu of just
subgroups (i.e. Move Within) now shows IN_GPMENU items for sub
groups.
* src/ta_misc/win_base.cc: WinMgr was not getting window ptr from
view, causing 'View Window' to not work on 1st try. this is
fixed.
Sun Jun 9 12:40:04 1996 Randal C. O'Reilly ([email protected])
* src/ta/ta_base.cc (taBase::Own): if object currently has an
owner, then don't do SetTypeDefaults(). also, emit warning that
the InitLinks might have modified some stuff..
* don't create default stats unless size == 0.
Sat Jun 8 16:27:32 1996 Randal C. O'Reilly ([email protected])
* src/ta/taiv_data.cc (taivMethMenu::GenerateScript):
fixed recording script call of function taking an object as
an argument -- temporary object must be created, initialized, etc.
* src/ta/taiv_type.cc (taivArgType): fixed calling of const,
reference object args in gui.
* src/pdp/netstru.h,cc: added following to full netstru hierarchy:
TransformWeights: applies simple math to weight values (scaling,
thresholding, etc).
AddNoiseToWeights: adds random noise to weights
PruneCons: removes connections according to a comparison function
LesionCons: removes connections randomly with given probability
Fri Jun 7 11:45:43 1996 Randal C. O'Reilly ([email protected])
* src/pdp/netstru_extra.cc: fixed TesselPrjnSpec::MakeRectangle
* src/css/machine.cc: put in check and error when 'this' argument
to a member function is not a class object (i.e. as happens when too
many args are passed to member function).
* src/ta_misc/win_base.h,.cc:
Created two global traversal functions like updatemenus which:
GetAllWinPos: update window positions (called before saving)
this fixes a bug when user goes to a different virtual window
using a virtual window manager while saving -- because window
positions were computed piecemeal during saving, window
positions would be computed from different virtual window..
ScriptAllWinPos: generate script code for saving all window
positions. there is a hook on the Script object now to call this
for the scoping object (i.e., the Project), so you can record
all window positions in the project with one menu function right
on the script itself.
* also made SetWinPos a menu option, and made the window position
information #HIDDEN, so that moving a window with an open edit
dialog, then hitting apply, will not revert to old window
position.
Thu Jun 6 12:36:28 1996 Randal C. O'Reilly ([email protected])
* src/css/machine.cc,css_parse.y (cssInst): fixed some reference
counting problems associated with css class objects, that caused
bugs when a class was used in multiple ProgSpace's.
* src/ta/ta_dump.cc: robustified the handling of errors for
dump files.
Wed Jun 5 10:02:15 1996 Randal C. O'Reilly ([email protected])
* src/css/basic_types.cc (cssClassType): added member_desc and
member_opts to the class type, to hold descriptions and options
(comment directives) for class members, which previously were not
parsed. the only option currently recognized is #HIDDEN, for
edit dialogs.
* src/ta/ta_list.h (taArray_impl): added EnforceSize function to
array, which makes the array exactly the size given by the arg, by
filling in blanks or shrinking size.
* src/pdp/sched_proc.h,.cc: added MoveToSubGp() function, which
moves given process and all sub-procs to a new sub-group. this is
useful for organizing processes into groups as the number of
process hierarchies used in a given project grows..
* src/css/css_iv.cc (cssivMethMenu:): added an arg_vals list to
cssFuns, which are initially set by default values, and updated
when called through the gui, which provide "memory" for arg
dialogs.
* src/ta/typea.h: added ListAllTokens to taMisc and TypeSpace,
which generates a list of all types that keep tokens, together
with the current token and sub-token count.
* src/ta/ta_base_tmplt.h: commented-out the taList_of, taArray_of,
and taGroup_of macros since they don't provide the correct
##NO_TOKENS and #NO_UPDATE_AFTER comments appropriate for most
such objects. an example of how to instantiate a list is given
below these macros for each case. replaced all instances of the
macros in the code with appropriate explicit code.
* src/ta/: changed several instances of taBase_Group to
taBase_List (TypeDef.defaults, ta_dump.active_membs), since the
use of the group was unneccesary.
* src/pdp/enviro.cc: Environment::FlipBits now takes separate
n_off and n_on args to specify how many to turn off and how many
to turn on.
* src/ta/ta_list.h: added a Sort() function for pointer lists.
* src/ta/taiv_data.cc (taivMethMenu:): #UPDATE_MENUS now required
for member functions to update the menus associated with an item
(before it was done automatically with UpdateAfterEdit(), and far
too often!).
also, got rid of #NO_UPDATE_AFTER, and functions never do an
UpdateAfterEdit() as a result of gui calling because if they need
to do so, they should just call it themselves! (which will happen
regardless of how the thing was called anyway).
* src/pdp/procs_extra.cc: fixed epoch counter stat to generate a
"narrow" epoch column in logs.
Mon Jun 3 14:33:41 1996 Randal C. O'Reilly ([email protected])
* src/pdp/sched_proc.cc (SchedProcess::Init_impl): initialize the
init_procs and the loop_procs when the process itself is
initialized.
* src/ta/taiv_data.cc (taivGetFile:): if fork or pipe fails for
saving compressed file, just save uncompressed (file name will not
be correct).
* src/pdp/stats.cc: non-COPY aggregators of copy_vals now create
their copy_vals right away, not as the aggregation occurs, and
they append the aggregation prefix to the name.
copy_vals of size 1 are not labeled as a vector.
MonitorStat: montoring of unit weights now correct (r and s were
reversed).
* src/pdp/pdp_iv.cc: Ok or Cancel on control panel or process edit
dialog only stop's process if it is the one running!
Sun Jun 2 13:46:04 1996 Randall C. O'Reilly (ro2m@hydra)
* src/css/ta_css.cc (cssTA:): improved the conversion from cssTA
objects to TypeDef*, so that it 1st checks if the object is itself
a TypeDef, then it uses the type_def for the object itself.
otherwise, it uses the string to look up the type name.
* src/css/css_lex.cc: 'TA_xxx' is now parsed as a TypeDef for type
of name xxx, and can be used just as in C++ with TA.
* src/css/css_parse.y: added warning when "implicit" variable is
created without type information. this alerts potential
misspelling of intended previously declared variable. this warning
is not issued for shell-level coding, where this shortcut is intended
to be used.
Fri May 31 10:37:52 1996 Randall C. O'Reilly (ro2m@hydra)
* src/pdp/netstru.cc: got rid of some of the projected = false
statements, so that a lesion of some units does not lead to a
constant reminder to connect the network!
* src/css/machine.cc (cssProgSpace:): external_exit flag was not
being properly reset after forced recompile from Script object,
causing it to not run after compile following an error, or anytime
that script had an active prompt.
* src/ta/taiv_data.cc (taivFileButton:): fixed bug that was
causing crash after editing default objects with file members
(scripts, processes, etc.)
Thu May 30 10:31:07 1996 Randall C. O'Reilly (ro2m@narwhal)
* src/css/css_builtin.cc: calling member functions from a class
reference instead of a class object was broken, is now fixed.
* src/css/ta_css.cc (cssTA:): conversion of string path for cssTA
pointers fixed (wasn't doing assignment when ptr == NULL..) this
prevented memory for pointer args in gui.
* src/pdp/stats.cc: modified MonitorStat::ScanLayer to allow
monitoring of object.value members of layers.
Wed May 29 15:10:42 1996 Randal C. O'Reilly ([email protected])
* config/Makefile.defs (DEP_CC, DEP_CXX): added defines for the
compiler command to create the dependency information. default is
CC and CXX for c and c++ files, respectively, but may need to be
changed for specific machines (e.g., cfront-based HP800 requires
gcc for dependencies).
* src/css/css_parse.y: 'switch' blocks were not marked as
'is_block' blocks, and thus lacked appropriate variable scoping.
fixed this.
Tue May 28 10:26:40 1996 Randall C. O'Reilly (ro2m@hydra)
* Version 1.1 of PDP++/TA_CSS released!
* src/ta/ta_base.cc: SetTypeDefaults now checks for defaults set
for parent types, and applies them before applying defaults
specifically for object itself. thus, defaults are now inherited!
Fri May 24 11:32:21 1996 Randall C. O'Reilly (ro2m@hydra)
* src/css/machine.h,cc: extern functions and class member
functions should not refer to non-extern (static)
variables/functions defined in the top-level compile space. if
they do, a warning is emitted, and the reference is converted
to a DIRECT pointer, in case the statics space is reset (since its
life is potentially shorter than that of the class type/extern fun).
* src/ta/taiv_data.cc (taivGetFile): added a 'waitpid' after a
stream is closed, in order to allow the compress child process to
be 'reaped', eliminating the defunct, zombie processes.
* src/ta/mta_parse.y: fixed parsing of enums with negative number
values explicitly assigned (e.g., cs.h, MINUS_PHASE).
Thu May 23 09:53:23 1996 Randall C. O'Reilly (ro2m@narwhal)
* src/cs/cs.cc: CsSettle now uses the time value of a TimeEvent to
set the max number of settle cycles.
* iv/src/lib/InterViews/composition.c: fixed the prev_forced_break
function in compositor to not get an error when 0 elements in the
composition.
Wed May 22 13:03:52 1996 Randall C. O'Reilly (ro2m@narwhal)
* src/cs/cs.h: added HebbCsConSpec, which performs simple Hebbian
learning in the context of the recurrent Cs activations (ru->act *
su->act).
* src/ta/ta_group.h: added RemoveGp() functions to taGroup, provides
a convenient way of removing subgroups from edit dialogs..
* src/pdp/enviro.cc: displaying of events now uses a Composition
object, which will automatically wrap the events around when the
line gets too long, etc. its nifty!
Tue May 21 13:37:42 1996 Randall C. O'Reilly (ro2m@narwhal)
* src/pdp/enviro.cc,h: changes made to event header and pattern
header information in the EnviroView now will be recorded in the
script when recording. also, Apply button should *not* be
recorded in the script! this was removed.
Events when created now automatically update the list of event
buttons for the enviro view(s), except if their 'display_toggle'
is off. The overhead for adding one at a time is only a little
worse than adding all at once for reasonably small event counts
(<1000), but you can optimize performance by turning the display
toggle off during event creation, then back on.
The index of the event is now displayed in the EnviroView, and if
it belongs in a sub-group (with a name), the first 4 chars of that
group name are displayed as well.
* src/pdp/pdplog.cc: fixed duplication of LogView's so that they
look just like the thing you duplicated!
* demo/bp_misc/bp_softmax.proj.gz: created a demo of Bp with
SoftMax output units.
Mon May 20 12:54:50 1996 Randall C. O'Reilly (ro2m@hydra)
* src/bp/bp.h,.cc: Added DeltaBarDeltaBpCon, Spec, which implement
the delta-bar-delta (Jacobs, 1988) adaptive learning rate scheme.
* src/pdp/pdplog.h (NetLog, NetLogView): added SetNetwork function
which is #NEW_FUN, so called automatically when created, to set which
network the view is updating. also, fixed missing Destroy and CutLinks
for this and a couple of other LogView classes!!!!
Fri May 17 12:58:43 1996 Randall C. O'Reilly (ro2m@hydra)
* demo/css: Created a demo for hard-coding a css application
(i.e., taking code written in css and compiling it using C++ into
a standalone application). updated the corresponding manual
section (css-hard).
* src/pdp/netstru.cc: Making a new NetView and duplicating
existing one now results in a usable display, whereas before the
network was completely off-screen. pressing Init may still
improve the display.
Thu May 16 15:08:31 1996 Chadley Kaye Dawson ([email protected])
* ta_misc/random.h ta_misc/random.cc
added in microsecond random seed intialization
Thu May 16 10:30:19 1996 Randall C. O'Reilly (ro2m@hydra)
* src/iv_graphic/graphic.cc (Xform:): added Copy functions to
transforms, so that they actually copy their values (and
duplicating a network actually looks like it should!)
* src/pdp/netstru.cc: fixed Reconnect_Copy for Con_Group to set
the projection pointer for each con group to the correct one!
This is why duplicated networks weren't working correctly!
Wed May 15 17:41:01 1996 Randall C. O'Reilly (ro2m@hydra)
* src/bp/bp.cc,rbp.cc,cs.cc: automatically adds an appropriate
SE_Stat for the trial process in Bp and Cs, and aggregates it
using SUM. this process can be removed or edited as needed.
* src/pdp/pdplog.h: New logs automatically prompt for an updating
process, since a log is useless without an updater.
* src/pdp/sched_proc.cc (CreateSubProcs): TrialProcess and
SettleProcess now automatically add themselves as updaters to
the network.
Tue May 14 18:48:57 1996 Chadley Kaye Dawson ([email protected])
* src/css/css_builtin.cc
added int gettimesec() and int gettime msec() which use the
system gettimeofday function and return the elapsed seconds
and milliseconds respectively.
* config/Makefile.std, config/Makefile.defs
increased AR_CMD definitions to accomodate AIX shared libs
Tue May 14 15:19:48 1996 Randall C. O'Reilly (ro2m@hydra)
* src/pdp/pdpshell.cc: gui Quit() now issues a command to exit