DistanceCalculator
Date: 2014-05-11

org.gcube.contentmanagement.lexicalmatcher.utils

## Class DistanceCalculator

- java.lang.Object
- - org.gcube.contentmanagement.lexicalmatcher.utils.DistanceCalculator

-     public class DistanceCalculator
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DistanceCalculator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `CD(boolean useSimpleDistance, java.lang.String h, java.lang.String t)`
    `double` | `CD(boolean useSimpleDistance, java.lang.String h, java.lang.String t, boolean ignoreCase, boolean boostMatch)`
    `int` | `LD(java.lang.String s, java.lang.String t)`
    `static void` | `main(java.lang.String[] args)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DistanceCalculator

          public DistanceCalculator()

  - ### Method Detail

    - #### LD

          public int LD(java.lang.String s,
               java.lang.String t)

    - #### CD

          public double CD(boolean useSimpleDistance,
                  java.lang.String h,
                  java.lang.String t)

    - #### CD

          public double CD(boolean useSimpleDistance,
                  java.lang.String h,
                  java.lang.String t,
                  boolean ignoreCase,
                  boolean boostMatch)

    - #### main

          public static void main(java.lang.String[] args)