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
  • Enum Constant Details

    • NEAREST_NEIGHBORS_RELATIVE_DISTANCE

      public static final BatchFaceDistanceServices.DistanceStrategy 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

      public static final BatchFaceDistanceServices.DistanceStrategy 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

      public static final BatchFaceDistanceServices.DistanceStrategy NEAREST_NEIGHBORS_COMBINED_DISTANCE
      The closest points are find by looking for nearest neighbors. The mutual similarity is estimated by combining the NEAREST_NEIGHBORS_DIRECT_DISTANCE and NEAREST_NEIGHBORS_RELATIVE_DISTANCE strategies.
    • PROJECTION

      public static final BatchFaceDistanceServices.DistanceStrategy 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

      public static BatchFaceDistanceServices.DistanceStrategy valueOf(String name)
      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 name
      NullPointerException - if the argument is null