1 // Network type for stress discovery with Dynamic Computational Networks
2 // Copyright © 2009 The University of Chicago
5 // See the learning documentation in DCNlearning.h for an overview.
15 * A network is a DCN that takes a grammar and puts it
16 * in equilibrium. The network is represented as an array
17 * of nodes, each node being type float. The number of nodes
18 * correspondes to the number of syllables in the word (syl).
19 * A network can output the stress of the word with getStress().
35 void setGrammar(grammar
* theGrammar
);
37 void print(QLabel
* label
);
39 bool isConverged() { return converged
; }