Debian Codegraph @

gram/OTMulti.h

raw symbols SCIP
1 #cxx . . $ `<file>/gram/OTMulti.h`/ifndef _OTMulti_h_
2 #define _OTMulti_h_cxx . . $ `gram/OTMulti.h:2:9`!
3 /* OTMulti.h
4 *
5 * Copyright (C) 2005-2009,2011,2012,2014-2018 Paul Boersma
6 *
7 * This code is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or (at
10 * your option) any later version.
11 *
12 * This code is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15 * See the GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this work. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #include "Graphics.h"cxx . . $ `<file>/sys/Graphics.h`/
22 #include "PairDistribution.h"cxx . . $ `<file>/stat/PairDistribution.h`/
23 #include "Distributions.h"cxx . . $ `<file>/stat/Distributions.h`/
24 #include "OTGrammar.h"cxx . . $ `<file>/gram/OTGrammar.h`/
25
26 #include "OTMulti_def.h"cxx . . $ `<file>/gram/OTMulti_def.h`/
27
28 integercxx . . $ integer# OTMulti_getConstraintIndexFromNamecxx . . $ OTMulti_getConstraintIndexFromName(71cea15ada5e2dac). (OTMulticxx . . $ OTMulti# me, conststring32cxx . . $ conststring32# name);
29
30 void OTMulti_checkIndexcxx . . $ OTMulti_checkIndex(a34eed4b1c1d1bc5). (OTMulticxx . . $ OTMulti# me);
31
32 void OTMulti_sortcxx . . $ OTMulti_sort(a34eed4b1c1d1bc5). (OTMulticxx . . $ OTMulti# me);
33 /* Low level: meant to maintain the invariant
34 * my constraints [my index [i]]. disharmony >= my constraints [my index [i+1]]. disharmony
35 * Therefore, call after every direct assignment to the 'disharmony' attribute.
36 * Tied constraints should not exist.
37 */
38
39 void OTMulti_newDisharmoniescxx . . $ OTMulti_newDisharmonies(8663bcc155b161db). (OTMulticxx . . $ OTMulti# me, double evaluationNoise);
40
41 int OTMulti_candidateMatchescxx . . $ OTMulti_candidateMatches(17cb9c47ac4309ff). (OTMulticxx . . $ OTMulti# me, integercxx . . $ integer# icand, conststring32cxx . . $ conststring32# form1, conststring32cxx . . $ conststring32# form2);
42 int OTMulti_compareCandidatescxx . . $ OTMulti_compareCandidates(4671c39d186ec8da). (OTMulticxx . . $ OTMulti# me, integercxx . . $ integer# icand1, integercxx . . $ integer# icand2);
43 integercxx . . $ integer# OTMulti_getWinnercxx . . $ OTMulti_getWinner(d0a56e89bef5a754). (OTMulticxx . . $ OTMulti# me, conststring32cxx . . $ conststring32# form1, conststring32cxx . . $ conststring32# form2);
44
45 #define OTMulti_LEARN_FORWARDcxx . . $ `gram/OTMulti.h:45:9`! 1
46 #define OTMulti_LEARN_BACKWARDcxx . . $ `gram/OTMulti.h:46:9`! 2
47 #define OTMulti_LEARN_BIDIRECTIONALLYcxx . . $ `gram/OTMulti.h:47:9`! 3
48 int OTMulti_learnOnecxx . . $ OTMulti_learnOne(359a3fa70914d01b). (OTMulticxx . . $ OTMulti# me, conststring32cxx . . $ conststring32# form1, conststring32cxx . . $ conststring32# form2,
49 enum kOTGrammar_rerankingStrategycxx . . $ kOTGrammar_rerankingStrategy# updateRule, int direction, double plasticity, double relativePlasticityNoise);
50 void OTMulti_PairDistribution_learncxx . . $ OTMulti_PairDistribution_learn(cf6b7e47a2952806). (OTMulticxx . . $ OTMulti# me, PairDistributioncxx . . $ PairDistribution# thee,
51 double evaluationNoise, enum kOTGrammar_rerankingStrategycxx . . $ kOTGrammar_rerankingStrategy# updateRule, int direction,
52 double initialPlasticity, integercxx . . $ integer# replicationsPerPlasticity, double plasticityDecrement,
53 integercxx . . $ integer# numberOfPlasticities, double relativePlasticityNoise, integercxx . . $ integer# storeHistoryEvery, autoTablecxx . . $ autoTable# *history_out);
54
55 void OTMulti_drawTableaucxx . . $ OTMulti_drawTableau(6da0ce92984dc4c7). (OTMulticxx . . $ OTMulti# me, Graphicscxx . . $ Graphics# g, conststring32cxx . . $ conststring32# form1, conststring32cxx . . $ conststring32# form2, bool vertical, bool showDisharmonies);
56
57 autoOTMulticxx . . $ autoOTMulti# OTMulti_create_metricscxx . . $ OTMulti_create_metrics(958e3198317757e). (
58 kOTGrammar_createMetricsGrammar_initialRankingcxx . . $ kOTGrammar_createMetricsGrammar_initialRanking# equal_footForm_wsp,
59 int trochaicityConstraint, int includeFootBimoraic, int includeFootBisyllabic,
60 int includePeripheral, int nonfinalityConstraint, int overtFormsHaveSecondaryStress,
61 int includeClashAndLapse, int includeCodas);
62
63 void OTMulti_resetcxx . . $ OTMulti_reset(8663bcc155b161db). (OTMulticxx . . $ OTMulti# me, double ranking);
64 void OTMulti_setRankingcxx . . $ OTMulti_setRanking(92fa69f80755f0da). (OTMulticxx . . $ OTMulti# me, integercxx . . $ integer# constraint, double ranking, double disharmony);
65 void OTMulti_setConstraintPlasticitycxx . . $ OTMulti_setConstraintPlasticity(c3b8207962d96f28). (OTMulticxx . . $ OTMulti# me, integercxx . . $ integer# constraint, double plasticity);
66 void OTMulti_removeConstraintcxx . . $ OTMulti_removeConstraint(53c7497ad62bed0). (OTMulticxx . . $ OTMulti# me, conststring32cxx . . $ conststring32# constraintName);
67
68 autostring32cxx . . $ autostring32# OTMulti_generateOptimalFormcxx . . $ OTMulti_generateOptimalForm(334bc7481588a192). (OTMulticxx . . $ OTMulti# me, conststring32cxx . . $ conststring32# form1, conststring32cxx . . $ conststring32# form2, double evaluationNoise);
69 autoStringscxx . . $ autoStrings# OTMulti_generateOptimalFormscxx . . $ OTMulti_generateOptimalForms(eddf49135c67c679). (OTMulticxx . . $ OTMulti# me, conststring32cxx . . $ conststring32# form1, conststring32cxx . . $ conststring32# form2, integercxx . . $ integer# numberOfTrials, double evaluationNoise);
70 autoDistributionscxx . . $ autoDistributions# OTMulti_to_Distributioncxx . . $ OTMulti_to_Distribution(10993a2b6c47e40c). (OTMulticxx . . $ OTMulti# me, conststring32cxx . . $ conststring32# form1, conststring32cxx . . $ conststring32# form2, integercxx . . $ integer# numberOfTrials, double evaluationNoise);
71 autoStringscxx . . $ autoStrings# OTMulti_Strings_generateOptimalFormscxx . . $ OTMulti_Strings_generateOptimalForms(70a9d7a2ed2d09d6). (OTMulticxx . . $ OTMulti# me, Stringscxx . . $ Strings# forms, double evaluationNoise);
72
73 /* End of file OTMulti.h */
74 #endif