jInfer

cz.cuni.mff.ksi.jinfer.iss.experiments.quality
Class Weight

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.iss.experiments.quality.Weight
All Implemented Interfaces:
QualityMeasurement

public class Weight
extends Object
implements QualityMeasurement

Weight-based implementation of the QualityMeasurement interface.


Constructor Summary
Weight()
           
 
Method Summary
 Quality measure(Experiment experiment, IdSet solution)
          Returns the quality of the provided solution in the context of the provided experiment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Weight

public Weight()
Method Detail

measure

public Quality measure(Experiment experiment,
                       IdSet solution)
Description copied from interface: QualityMeasurement
Returns the quality of the provided solution in the context of the provided experiment.

Specified by:
measure in interface QualityMeasurement
Parameters:
experiment - Experiment in context of which to measure the quality.
solution - Solution for which the quality should be calculated.
Returns:
Quality of the solution in the context of the experiment.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011