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.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

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)

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