jcolibri.method.retrieve.NNretrieval.similarity.local.ontology
Class OntDeep

java.lang.Object
  extended by jcolibri.method.retrieve.NNretrieval.similarity.local.ontology.OntDeep
All Implemented Interfaces:
LocalSimilarityFunction

public class OntDeep
extends java.lang.Object
implements LocalSimilarityFunction

This function computes the fdeep similarity. See package documentation for details.

Version:
1.0
Author:
Juan A. Recio-Garcia
See Also:
jcolibri.method.retrieve.NNretrieval.similarity.local

Constructor Summary
OntDeep()
           
 
Method Summary
 double compute(java.lang.Object caseObject, java.lang.Object queryObject)
          Computes the similarity between two objects
 boolean isApplicable(java.lang.Object o1, java.lang.Object o2)
          Applicable to Instance
static void main(java.lang.String[] args)
          Testing method using test5 ontology
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntDeep

public OntDeep()
Method Detail

compute

public double compute(java.lang.Object caseObject,
                      java.lang.Object queryObject)
               throws NoApplicableSimilarityFunctionException
Description copied from interface: LocalSimilarityFunction
Computes the similarity between two objects

Specified by:
compute in interface LocalSimilarityFunction
Parameters:
caseObject - object of the case
queryObject - object of the query
Returns:
a value between [0..1]
Throws:
NoApplicableSimilarityFunctionException

isApplicable

public boolean isApplicable(java.lang.Object o1,
                            java.lang.Object o2)
Applicable to Instance

Specified by:
isApplicable in interface LocalSimilarityFunction

main

public static void main(java.lang.String[] args)
Testing method using test5 ontology


GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es