OntoSim 2.3

fr.inrialpes.exmo.ontosim.aggregation
Class AggregationScheme

java.lang.Object
  extended by 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

Field Summary
private static Map<Class<? extends AggregationScheme>,AggregationScheme> INSTANCES
           
 
Constructor Summary
protected AggregationScheme()
           
 
Method Summary
static
<O extends AggregationScheme>
O
getInstance(Class<O> c)
           
abstract  double getValue(double[] vals)
           
abstract
<O> double
getValue(Measure<O> measure, Matching<O> matching)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCES

private static final Map<Class<? extends AggregationScheme>,AggregationScheme> INSTANCES
Constructor Detail

AggregationScheme

protected AggregationScheme()
Method Detail

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)

OntoSim 2.3

(C) INRIA, UPMF & friends, 2008-2011