public interface CostFunction extends java.io.Serializable, Disposable
Modifier and Type | Method and Description |
---|---|
double |
evaluate(java.util.List<DataPoint> dataPoints,
java.util.List<Prototype> prototypes,
OmegaMatrix omegaMatrix)
computes the costs for the given configuration of data and prototypes
|
dispose
double evaluate(java.util.List<DataPoint> dataPoints, java.util.List<Prototype> prototypes, OmegaMatrix omegaMatrix) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
dataPoints
- the data points to be evaluatedprototypes
- the prototypes to be evaluated (either original or in a
ProposedUpdate
)omegaMatrix
- how to map data space vector (either original or in a
ProposedUpdate
)?java.lang.InterruptedException
java.util.concurrent.ExecutionException