Rev | Line | |
---|
[1044] | 1 | // This file is a part of Framsticks SDK. http://www.framsticks.com/ |
---|
| 2 | // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. |
---|
| 3 | // See LICENSE.txt for details. |
---|
| 4 | |
---|
| 5 | #ifndef _SIMIL_MEASURE_H |
---|
| 6 | #define _SIMIL_MEASURE_H |
---|
| 7 | |
---|
[1048] | 8 | #include "frams/model/similarity/measure-greedy.h" |
---|
| 9 | #include "frams/model/similarity/measure-hungarian.h" |
---|
| 10 | #include "frams/model/similarity/measure-distribution.h" |
---|
[1044] | 11 | |
---|
| 12 | class SimilMeasure |
---|
| 13 | { |
---|
| 14 | public: |
---|
| 15 | int measure_type; |
---|
[1048] | 16 | |
---|
| 17 | SimilMeasureGreedy simil_measure_greedy; |
---|
| 18 | SimilMeasureHungarian simil_measure_hungarian; |
---|
| 19 | SimilMeasureDistribution simil_measure_distribution; |
---|
| 20 | |
---|
[1044] | 21 | /// Interface to local parameters |
---|
| 22 | Param localpar; |
---|
| 23 | |
---|
[1048] | 24 | SimilMeasure(); |
---|
| 25 | virtual ~SimilMeasure() {}; |
---|
[1044] | 26 | double evaluateDistance(const Geno *G0, const Geno *G1); |
---|
| 27 | |
---|
| 28 | #define STATRICKCLASS SimilMeasure |
---|
| 29 | PARAMPROCDEF(p_evaldistance); |
---|
| 30 | #undef STATRICKCLASS |
---|
| 31 | }; |
---|
| 32 | |
---|
| 33 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.