1 // Network set type for stress discovery with Dynamic Computational Networks
2 // Copyright © 2009 The University of Chicago
6 // See the learning documentation in DCNlearning.h for an overview.
13 #include <q3ptrvector.h>
16 * A snetwork is a Set of NETWORKs.
17 * Give it the smallest and largest word, and a grammar,
18 * and the snetwork will make a vector of networks, one
19 * for each word length. This makes it easy to see what
20 * a grammar does for a DCN. The print() function is
28 int greatestNumberOfSyl
;
31 Q3PtrVector
<network
> theNetworks
;
34 snetwork(int leastNumberOfSyl
, int greatestNumberOfSyl
);
36 void setGrammar(grammar
* theGrammar
);
37 void print(Q3TextEdit
*label
);
39 bool isTotallyConverged() { return converged
; }