fr.inrialpes.exmo.ontosim.aggregation
Class AggregationScheme
java.lang.Object
fr.inrialpes.exmo.ontosim.aggregation.AggregationScheme
- Direct Known Subclasses:
- DummyAS, GenericMean
public abstract class AggregationScheme
- extends Object
Since the constructors are protected, use AggregationScheme.getInstance(yourMeanClass.class) for having the single instance shared by the application.
- Author:
- jerome DAVID
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCES
private static final Map<Class<? extends AggregationScheme>,AggregationScheme> INSTANCES
AggregationScheme
protected AggregationScheme()
getInstance
public static <O extends AggregationScheme> O getInstance(Class<O> c)
getValue
public abstract double getValue(double[] vals)
getValue
public abstract <O> double getValue(Measure<O> measure,
Matching<O> matching)
(C) INRIA & friends, 2008-2009