Enum Class BatchFaceDistanceServices.DistanceStrategy
java.lang.Object
java.lang.Enum<BatchFaceDistanceServices.DistanceStrategy>
cz.fidentis.analyst.engines.face.batch.distance.BatchFaceDistanceServices.DistanceStrategy
- All Implemented Interfaces:
Serializable
,Comparable<BatchFaceDistanceServices.DistanceStrategy>
,Constable
- Enclosing interface:
BatchFaceDistanceServices
public static enum BatchFaceDistanceServices.DistanceStrategy
extends Enum<BatchFaceDistanceServices.DistanceStrategy>
Strategies of computation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe closest points are find by looking for nearest neighbors.The closest points are find by looking for nearest neighbors.The closest points are find by looking for nearest neighbors.Uses rat-casting to get distance -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEAREST_NEIGHBORS_RELATIVE_DISTANCE
The closest points are find by looking for nearest neighbors. The mutual similarity is estimated by caching and combining relative distances of measured faces to the gauge face. -
NEAREST_NEIGHBORS_DIRECT_DISTANCE
The closest points are find by looking for nearest neighbors. The mutual similarity is estimated by caching and combining the nearest neighbors and then computing their Euclidean distance. -
NEAREST_NEIGHBORS_COMBINED_DISTANCE
The closest points are find by looking for nearest neighbors. The mutual similarity is estimated by combining theNEAREST_NEIGHBORS_DIRECT_DISTANCE
andNEAREST_NEIGHBORS_RELATIVE_DISTANCE
strategies. -
PROJECTION
Uses rat-casting to get distance
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-