edu.washington.cs.knowitall.ontology.match
Class OntologicalRelationMatcher

java.lang.Object
  extended by edu.washington.cs.knowitall.ontology.match.OntologicalRelationMatcher
Direct Known Subclasses:
ContainsMatcher, ExactMatcher, PercentOverlapMatcher

public abstract class OntologicalRelationMatcher
extends Object


Constructor Summary
OntologicalRelationMatcher()
           
 
Method Summary
static OntologicalRelationMatcher create(Class<?> tagger, Class<?>[] argTypes, Object[] argValues)
           
static OntologicalRelationMatcher create(String className)
           
static OntologicalRelationMatcher create(String classname, Class<?>[] argTypes, Object[] argValues)
           
static Class<?> getClass(String classname)
           
abstract  boolean matches(OntologicalRelation rel1, OntologicalRelation rel2)
           
abstract  double percent(OntologicalRelation rel1, OntologicalRelation rel2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OntologicalRelationMatcher

public OntologicalRelationMatcher()
Method Detail

matches

public abstract boolean matches(OntologicalRelation rel1,
                                OntologicalRelation rel2)

percent

public abstract double percent(OntologicalRelation rel1,
                               OntologicalRelation rel2)

create

public static OntologicalRelationMatcher create(String className)
                                         throws SecurityException,
                                                IllegalArgumentException,
                                                ClassNotFoundException,
                                                NoSuchMethodException,
                                                InstantiationException,
                                                IllegalAccessException,
                                                InvocationTargetException
Throws:
SecurityException
IllegalArgumentException
ClassNotFoundException
NoSuchMethodException
InstantiationException
IllegalAccessException
InvocationTargetException

getClass

public static Class<?> getClass(String classname)
                         throws ClassNotFoundException
Throws:
ClassNotFoundException

create

public static OntologicalRelationMatcher create(String classname,
                                                Class<?>[] argTypes,
                                                Object[] argValues)
                                         throws ClassNotFoundException,
                                                SecurityException,
                                                NoSuchMethodException,
                                                IllegalArgumentException,
                                                InstantiationException,
                                                IllegalAccessException,
                                                InvocationTargetException
Throws:
ClassNotFoundException
SecurityException
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException

create

public static OntologicalRelationMatcher create(Class<?> tagger,
                                                Class<?>[] argTypes,
                                                Object[] argValues)
                                         throws ClassNotFoundException,
                                                SecurityException,
                                                NoSuchMethodException,
                                                IllegalArgumentException,
                                                InstantiationException,
                                                IllegalAccessException,
                                                InvocationTargetException
Throws:
ClassNotFoundException
SecurityException
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException


Copyright © 2011 University of Washington CSE. All Rights Reserved.