| 1 | /* OTMulti_def.h |
| 2 | * |
| 3 | * Copyright (C) 2005,2007,2009-2011,2015-2019,2022 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/OTMulti_def.h:20:9`! OTConstraint |
| 21 | oo_DEFINE_STRUCTcxx . . $ `sys/oo_EQUAL.h:158:9`! (OTConstraint) |
| 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_EQUAL.h:175:9`! (2) |
| 28 | oo_DOUBLEcxx . . $ `sys/oo.h:58:9`! (plasticity) |
| 29 | oo_ENDFROMcxx . . $ `sys/oo_EQUAL.h:177:9`! |
| 30 | #if oo_READINGcxx . . $ `sys/oo_EQUAL.h:184:9`! |
| 31 | oo_VERSION_UNTIL (2) |
| 32 | our plasticity = 1.0; |
| 33 | oo_VERSION_END |
| 34 | #endif |
| 35 | |
| 36 | #if ! oo_READINGcxx . . $ `sys/oo_EQUAL.h:184:9`! && ! oo_WRITINGcxx . . $ `sys/oo_EQUAL.h:187:9`! && ! oo_COMPARINGcxx . . $ `sys/oo_EQUAL.h:182:9`! |
| 37 | oo_BOOLEAN (tiedToTheLeft) |
| 38 | oo_BOOLEAN (tiedToTheRight) |
| 39 | #endif |
| 40 | |
| 41 | oo_END_STRUCTcxx . . $ `sys/oo_EQUAL.h:161:9`! (OTConstraint) |
| 42 | #undef ooSTRUCTcxx . . $ `gram/OTMulti_def.h:20:9`! |
| 43 | |
| 44 | |
| 45 | #define ooSTRUCTcxx . . $ `gram/OTMulti_def.h:45:9`! OTCandidate |
| 46 | oo_DEFINE_STRUCTcxx . . $ `sys/oo_EQUAL.h:158:9`! (OTCandidate) |
| 47 | |
| 48 | oo_STRINGcxx . . $ `sys/oo.h:116:9`! (string) |
| 49 | oo_INTEGERcxx . . $ `sys/oo.h:45:9`! (numberOfConstraints) |
| 50 | oo_INTVEC16cxx . . $ `sys/oo.h:77:9`! (marks, numberOfConstraints) |
| 51 | |
| 52 | #if ! oo_READINGcxx . . $ `sys/oo_EQUAL.h:184:9`! && ! oo_WRITINGcxx . . $ `sys/oo_EQUAL.h:187:9`! && ! oo_COMPARINGcxx . . $ `sys/oo_EQUAL.h:182:9`! |
| 53 | oo_DOUBLE (harmony) |
| 54 | oo_DOUBLE (probability) |
| 55 | #endif |
| 56 | |
| 57 | oo_END_STRUCTcxx . . $ `sys/oo_EQUAL.h:161:9`! (OTCandidate) |
| 58 | #undef ooSTRUCTcxx . . $ `gram/OTMulti_def.h:45:9`! |
| 59 | |
| 60 | |
| 61 | #define ooSTRUCTcxx . . $ `gram/OTMulti_def.h:61:9`! OTMulti |
| 62 | oo_DEFINE_CLASScxx . . $ `sys/oo_EQUAL.h:165:9`! (OTMulti, Daata) |
| 63 | |
| 64 | oo_FROMcxx . . $ `sys/oo_EQUAL.h:175:9`! (1) |
| 65 | oo_ENUMcxx . . $ `sys/oo.h:101:9`! (kOTGrammar_decisionStrategy, decisionStrategy) |
| 66 | oo_ENDFROMcxx . . $ `sys/oo_EQUAL.h:177:9`! |
| 67 | oo_FROMcxx . . $ `sys/oo_EQUAL.h:175:9`! (2) |
| 68 | oo_DOUBLEcxx . . $ `sys/oo.h:58:9`! (leak) |
| 69 | oo_ENDFROMcxx . . $ `sys/oo_EQUAL.h:177:9`! |
| 70 | oo_INTEGERcxx . . $ `sys/oo.h:45:9`! (numberOfConstraints) |
| 71 | oo_STRUCTVECcxx . . $ `sys/oo_EQUAL.h:102:9`! (OTConstraint, constraints, numberOfConstraints) |
| 72 | oo_INTVECcxx . . $ `sys/oo.h:76:9`! (index, numberOfConstraints) |
| 73 | oo_INTEGERcxx . . $ `sys/oo.h:45:9`! (numberOfCandidates) |
| 74 | oo_STRUCTVECcxx . . $ `sys/oo_EQUAL.h:102:9`! (OTCandidate, candidates, numberOfCandidates) |
| 75 | |
| 76 | #if oo_READINGcxx . . $ `sys/oo_EQUAL.h:184:9`! |
| 77 | OTMulti_sort (this); |
| 78 | #endif |
| 79 | |
| 80 | #if oo_DECLARINGcxx . . $ `sys/oo_EQUAL.h:179:9`! |
| 81 | void v1_info () |
| 82 | override; |
| 83 | #endif |
| 84 | |
| 85 | oo_END_CLASScxx . . $ `sys/oo_EQUAL.h:171:9`! (OTMulti) |
| 86 | #undef ooSTRUCTcxx . . $ `gram/OTMulti_def.h:61:9`! |
| 87 | |
| 88 | |
| 89 | /* End of file OTMulti_def.h */ |