| 75 | } |
| 76 | |
| 77 | FLOAT_VALUE_DISTANCE_FUNCTION FloatValueDistanceFunctionStrToEnum(const std::string& valueDistanceStr) |
| 78 | { |
| 79 | if (valueDistanceStr == AbsStr) |
| 80 | return FLOAT_VALUE_DISTANCE_FUNCTION::ABSOLUTE_VALUE; |
| 81 | else |
| 82 | { |
| 83 | std::cout << "Error: Unrecognized float value distance function type \'" << valueDistanceStr << "\'. Exiting." << std::endl; |
| 84 | exit(-1); |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | FLOAT2_GENERATOR_TYPE Float2GeneratorStrToEnum(const std::string& generatorStr) |
| 89 | { |
no outgoing calls
no test coverage detected