Debian Codegraph @

dwtools/Proximity.h

raw symbols SCIP
1 #cxx . . $ `<file>/dwtools/Proximity.h`/ifndef _Proximity_h_
2 #define _Proximity_h_cxx . . $ `dwtools/Proximity.h:2:9`!
3 /* Proximity.h
4 *
5 * Copyright (C) 1993-2018 David Weenink
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. See the GNU
15 * 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 /*
22 djmw 20020813 GPL header
23 djmw 20110306 Latest modification.
24 */
25
26 #include "TableOfReal.h"cxx . . $ `<file>/stat/TableOfReal.h`/
27
28 Thing_definecxx . . $ autoSomeThing# (Proximity, TableOfReal) {
29 };
30
31 void Proximity_initcxx . . $ Proximity_init(bae185fe52776cec). (Proximitycxx . . $ Proximity# me, integercxx . . $ integer# numberOfPoints);
32
33 Thing_definecxx . . $ autoDissimilarity# (Dissimilarity, Proximity) {
34 };
35
36 autoDissimilaritycxx . . $ autoDissimilarity# Dissimilarity_createcxx . . $ Dissimilarity_create(cdd51d9389725cda). (integercxx . . $ integer# numberOfPoints);
37
38 autoDissimilaritycxx . . $ autoDissimilarity# Dissimilarity_createLetterRExamplecxx . . $ Dissimilarity_createLetterRExample(3788cea6d5cbc1f2). (double noiseStd);
39
40 double Dissimilarity_getAdditiveConstantcxx . . $ Dissimilarity_getAdditiveConstant(5458a667c2451424). (Dissimilaritycxx . . $ Dissimilarity# me);
41 /*
42 Get the best estimate for the additive constant:
43 "distance = dissimilarity + constant"
44 F. Cailliez (1983), The analytical solution of the additive constant problem, Psychometrika 48, 305-308.
45 */
46
47 Thing_definecxx . . $ autoSomeThing# (Similarity, Proximity) {
48 };
49
50 autoSimilaritycxx . . $ autoSimilarity# Similarity_createcxx . . $ Similarity_create(32730dd5c8f6d644). (integercxx . . $ integer# numberOfPoints);
51
52 Collection_definecxx . . $ ProximityListHandle# (ProximityList, OrderedOf, Proximity) {
53 TableOfRealListcxx . . $ TableOfRealList# asTableOfRealListcxx . . $ structProximityList#asTableOfRealList(9c68c8bbffc2a364). () {
54 return reinterpret_cast <TableOfRealListcxx . . $ TableOfRealList#> (this);
55 }
56 };
57
58 Collection_definecxx . . $ autoDissimilarityList# (DissimilarityList, OrderedOf, Dissimilarity) {
59 ProximityListcxx . . $ ProximityList# asProximityListcxx . . $ structDissimilarityList#asProximityList(341a11071ea8b5cc). () {
60 return reinterpret_cast <ProximityListcxx . . $ ProximityList#> (this);
61 }
62 TableOfRealListcxx . . $ TableOfRealList# asTableOfRealListcxx . . $ structDissimilarityList#asTableOfRealList(9c68c8bbffc2a364). () {
63 return reinterpret_cast <TableOfRealListcxx . . $ TableOfRealList#> (this);
64 }
65 };
66
67 #endif /* _Proximity_h_ */