DistanceTypes
Objective-C
NS_ENUM(int, DistanceTypes) {
DIST_USER = -1,
DIST_L1 = 1,
DIST_L2 = 2,
DIST_C = 3,
DIST_L12 = 4,
DIST_FAIR = 5,
DIST_WELSCH = 6,
DIST_HUBER = 7
}
Swift
enum DistanceTypes : Int32
-
Declaration
Objective-C
DIST_USER = -1
Swift
case DIST_USER = -1
-
Declaration
Objective-C
DIST_L1 = 1
Swift
case DIST_L1 = 1
-
Declaration
Objective-C
DIST_L2 = 2
Swift
case DIST_L2 = 2
-
Declaration
Objective-C
DIST_C = 3
Swift
case DIST_C = 3
-
Declaration
Objective-C
DIST_L12 = 4
Swift
case DIST_L12 = 4
-
Declaration
Objective-C
DIST_FAIR = 5
Swift
case DIST_FAIR = 5
-
Declaration
Objective-C
DIST_WELSCH = 6
Swift
case DIST_WELSCH = 6
-
Declaration
Objective-C
DIST_HUBER = 7
Swift
case DIST_HUBER = 7