Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OntoSim 2.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## fr.inrialpes.exmo.ontosim.vector
Class CosineVM

    java.lang.Object
      fr.inrialpes.exmo.ontosim.vector.VectorMeasure
          fr.inrialpes.exmo.ontosim.vector.CosineVM

All Implemented Interfaces:
  Measure<double[]>

    public final class CosineVM

extends VectorMeasure

Nested Class Summary

Nested classes/interfaces inherited from interface fr.inrialpes.exmo.ontosim.Measure
`Measure.TYPES`

Constructor Summary
`CosineVM()`

Method Summary
`double` | `getDissim(double[] o1, double[] o2)`
`double` | `getMeasureValue(double[] v1, double[] v2)`
`Measure.TYPES` | `getMType()`
`double` | `getSim(double[] o1, double[] o2)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CosineVM

    public CosineVM()

Method Detail

### getMeasureValue

    public double getMeasureValue(double[] v1,
                                  double[] v2)

  Specified by:
    `getMeasureValue` in interface `Measure<double[]>`
  Specified by:
    `getMeasureValue` in class `VectorMeasure`

### getDissim

    public double getDissim(double[] o1,
                            double[] o2)

### getSim

    public double getSim(double[] o1,
                         double[] o2)

### getMType

    public Measure.TYPES getMType()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OntoSim 2.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

(C) INRIA & friends, 2008-2009