Debian Codegraph @

fon/Experiment_enums.h

raw
1 /* Experiment_enums.h
2 *
3 * Copyright (C) 2001-2009,2015,2017 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 enums_begin (kExperiment_randomize, 0)
20 enums_add (kExperiment_randomize, 0, CYCLIC_NON_RANDOM, U"CyclicNonRandom")
21 enums_add (kExperiment_randomize, 1, PERMUTE_ALL, U"PermuteAll")
22 enums_add (kExperiment_randomize, 2, PERMUTE_BALANCED, U"PermuteBalanced")
23 enums_add (kExperiment_randomize, 3, PERMUTE_BALANCED_NO_DOUBLETS, U"PermuteBalancedNoDoublets")
24 enums_add (kExperiment_randomize, 4, WITH_REPLACEMENT, U"WithReplacement")
25 /*
26 As this enumerated type occurs in data, you should add new randomization methods only at the end.
27 */
28 enums_end (kExperiment_randomize, 4, PERMUTE_BALANCED_NO_DOUBLETS)
29
30 /* End of file Experiment_enums.h */