Debian Codegraph @

gram/OTGrammar_def.h

raw symbols SCIP
1 /* OTGrammar_def.h
2 *
3 * Copyright (C) 1997-2011,2015-2020 Paul Boersma
4 *
5 * This code is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This code is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 * See the GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this work. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19
20 #define ooSTRUCTcxx . . $ `gram/OTGrammar_def.h:20:9`! OTGrammarConstraint
21 oo_DEFINE_STRUCTcxx . . $ `sys/oo.h:159:9`! (OTGrammarConstraint)
22
23 oo_STRINGcxx . . $ `sys/oo.h:116:9`! (name)
24 oo_DOUBLEcxx . . $ `sys/oo.h:58:9`! (ranking)
25 oo_DOUBLEcxx . . $ `sys/oo.h:58:9`! (disharmony)
26
27 oo_FROMcxx . . $ `sys/oo.h:202:9`! (2)
28 oo_DOUBLEcxx . . $ `sys/oo.h:58:9`! (plasticity)
29 oo_ENDFROMcxx . . $ `sys/oo.h:203:9`!
30 #if oo_READINGcxx . . $ `sys/oo.h:235:9`!
31 oo_VERSION_UNTIL (2)
32 our plasticity = 1.0;
33 oo_VERSION_END
34 #endif
35
36 #if ! oo_READINGcxx . . $ `sys/oo.h:235:9`! && ! oo_WRITINGcxx . . $ `sys/oo.h:238:9`! && ! oo_COMPARINGcxx . . $ `sys/oo.h:233:9`!
37 oo_BOOLEANcxx . . $ `sys/oo.h:105:9`! (tiedToTheLeft)
38 oo_BOOLEANcxx . . $ `sys/oo.h:105:9`! (tiedToTheRight)
39 #endif
40
41 oo_END_STRUCTcxx . . $ `sys/oo.h:163:9`! (OTGrammarConstraint)
42 #undef ooSTRUCTcxx . . $ `gram/OTGrammar_def.h:20:9`!
43
44
45 #define ooSTRUCTcxx . . $ `gram/OTGrammar_def.h:45:9`! OTGrammarFixedRanking
46 oo_DEFINE_STRUCTcxx . . $ `sys/oo.h:159:9`! (OTGrammarFixedRanking)
47
48 oo_INTEGERcxx . . $ `sys/oo.h:45:9`! (higher)
49 oo_INTEGERcxx . . $ `sys/oo.h:45:9`! (lower)
50
51 oo_END_STRUCTcxx . . $ `sys/oo.h:163:9`! (OTGrammarFixedRanking)
52 #undef ooSTRUCTcxx . . $ `gram/OTGrammar_def.h:45:9`!
53
54
55 #define ooSTRUCTcxx . . $ `gram/OTGrammar_def.h:55:9`! OTGrammarCandidate
56 oo_DEFINE_STRUCTcxx . . $ `sys/oo.h:159:9`! (OTGrammarCandidate)
57
58 oo_STRINGcxx . . $ `sys/oo.h:116:9`! (output)
59 oo_INTEGERcxx . . $ `sys/oo.h:45:9`! (numberOfConstraints)
60 oo_INTVEC16cxx . . $ `sys/oo.h:77:9`! (marks, numberOfConstraints)
61
62 #if ! oo_READINGcxx . . $ `sys/oo.h:235:9`! && ! oo_WRITINGcxx . . $ `sys/oo.h:238:9`! && ! oo_COMPARINGcxx . . $ `sys/oo.h:233:9`!
63 oo_DOUBLEcxx . . $ `sys/oo.h:58:9`! (harmony)
64 oo_DOUBLEcxx . . $ `sys/oo.h:58:9`! (probability)
65 oo_INTEGERcxx . . $ `sys/oo.h:45:9`! (numberOfPotentialPartialOutputsMatching)
66 oo_BOOLVECcxx . . $ `sys/oo.h:78:9`! (partialOutputMatches, numberOfPotentialPartialOutputsMatching)
67 #endif
68
69 oo_END_STRUCTcxx . . $ `sys/oo.h:163:9`! (OTGrammarCandidate)
70 #undef ooSTRUCTcxx . . $ `gram/OTGrammar_def.h:55:9`!
71
72
73 #define ooSTRUCTcxx . . $ `gram/OTGrammar_def.h:73:9`! OTGrammarTableau
74 oo_DEFINE_STRUCTcxx . . $ `sys/oo.h:159:9`! (OTGrammarTableau)
75
76 oo_STRINGcxx . . $ `sys/oo.h:116:9`! (input)
77 oo_INTEGERcxx . . $ `sys/oo.h:45:9`! (numberOfCandidates)
78 oo_STRUCTVECcxx . . $ `sys/oo.h:146:9`! (OTGrammarCandidate, candidates, numberOfCandidates)
79
80 oo_END_STRUCTcxx . . $ `sys/oo.h:163:9`! (OTGrammarTableau)
81 #undef ooSTRUCTcxx . . $ `gram/OTGrammar_def.h:73:9`!
82
83
84 #define ooSTRUCTcxx . . $ `gram/OTGrammar_def.h:84:9`! OTGrammar
85 oo_DEFINE_CLASScxx . . $ `sys/oo.h:176:9`! (OTGrammar, Daata)
86
87 oo_FROMcxx . . $ `sys/oo.h:202:9`! (1)
88 oo_ENUMcxx . . $ `sys/oo.h:101:9`! (kOTGrammar_decisionStrategy, decisionStrategy)
89 oo_ENDFROMcxx . . $ `sys/oo.h:203:9`!
90 oo_FROMcxx . . $ `sys/oo.h:202:9`! (2)
91 oo_DOUBLEcxx . . $ `sys/oo.h:58:9`! (leak)
92 oo_ENDFROMcxx . . $ `sys/oo.h:203:9`!
93 oo_INTEGERcxx . . $ `sys/oo.h:45:9`! (numberOfConstraints)
94 oo_STRUCTVECcxx . . $ `sys/oo.h:146:9`! (OTGrammarConstraint, constraints, numberOfConstraints)
95 oo_INTVECcxx . . $ `sys/oo.h:76:9`! (index, numberOfConstraints) // not read or written in text files
96 oo_INTEGERcxx . . $ `sys/oo.h:45:9`! (numberOfFixedRankings)
97 oo_STRUCTVECcxx . . $ `sys/oo.h:146:9`! (OTGrammarFixedRanking, fixedRankings, numberOfFixedRankings)
98 oo_INTEGERcxx . . $ `sys/oo.h:45:9`! (numberOfTableaus)
99 oo_STRUCTVECcxx . . $ `sys/oo.h:146:9`! (OTGrammarTableau, tableaus, numberOfTableaus)
100
101 #if oo_READINGcxx . . $ `sys/oo.h:235:9`!
102 OTGrammar_sort (this);
103 #endif
104
105 #if oo_DECLARINGcxx . . $ `sys/oo.h:230:9`!
106 void v1_infocxx . . $ structOTGrammar#v1_info(49f6e7a06ebc5aa8). ()
107 override;
108 void checkConstraintNumbercxx . . $ structOTGrammar#checkConstraintNumber(1624ee8275b10bda). (integercxx . . $ integer# constraintNumber) {
109 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (constraintNumber >= 1,
110 U"The specified constraint number (", constraintNumber, U") should not be less than 1.");
111 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (constraintNumber <= ourcxx . . $ `melder/melder.h:42:9`! numberOfConstraints,
112 U"The specified constraint number (", constraintNumber,
113 U") should not exceed the number of constraints (", ourcxx . . $ `melder/melder.h:42:9`! numberOfConstraints, U")."
114 );
115 }
116 void checkTableauNumbercxx . . $ structOTGrammar#checkTableauNumber(1624ee8275b10bda). (integercxx . . $ integer# tableauNumber) {
117 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (tableauNumber >= 1,
118 U"The specified tableau number (", tableauNumber, U") should not be less than 1.");
119 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (tableauNumber <= ourcxx . . $ `melder/melder.h:42:9`! numberOfTableaus,
120 U"The specified tableau number (", tableauNumber,
121 U") should not exceed the number of tableaus (", ourcxx . . $ `melder/melder.h:42:9`! numberOfTableaus, U")."
122 );
123 }
124 void checkTableauAndCandidateNumbercxx . . $ structOTGrammar#checkTableauAndCandidateNumber(a8896fd0f69df779). (integercxx . . $ integer# tableauNumber, integercxx . . $ integer# candidateNumber) {
125 ourcxx . . $ `melder/melder.h:42:9`! checkTableauNumbercxx . . $ structOTGrammar#checkTableauNumber(1624ee8275b10bda). (tableauNumber);
126 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (candidateNumber >= 1,
127 U"The specified candidate number (", candidateNumber, U") should not be less than 1.");
128 Melder_requirecxx . . $ `melder/melder_require.h:21:9`! (candidateNumber <= ourcxx . . $ `melder/melder.h:42:9`! tableaus [tableauNumber]. numberOfCandidates,
129 U"The specified candidate number (", candidateNumber,
130 U") should not exceed the number of candidates in tableau ", tableauNumber,
131 U" (", ourcxx . . $ `melder/melder.h:42:9`! tableaus [tableauNumber]. numberOfCandidates, U")."
132 );
133 }
134 #endif
135
136 oo_END_CLASScxx . . $ `sys/oo.h:186:9`! (OTGrammar)
137 #undef ooSTRUCTcxx . . $ `gram/OTGrammar_def.h:84:9`!
138
139
140 /* End of file OTGrammar_def.h */