net.sf.amiba.impl.scientific
Class DoubleFitnessCaseLoader

Object
  extended by DoubleFitnessCaseLoader
All Implemented Interfaces:
FitnessCaseLoader<Double>

public class DoubleFitnessCaseLoader
extends Object
implements FitnessCaseLoader<Double>

A loader that loads fitness cases dealing in double from an XML document. the root of the document is "fitnessCases". It has one or more "fitnessCase" elements which in turn hold the attributes whose names correspond to the terminal names and whose values specify the terminal values. one special attribute is named "value" and it holds the expected result for that set of terminal values.

Author:
juber patel

Constructor Summary
DoubleFitnessCaseLoader()
           
 
Method Summary
 List<FitnessCase<Double>> load(String fileName)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleFitnessCaseLoader

public DoubleFitnessCaseLoader()
Method Detail

load

public List<FitnessCase<Double>> load(String fileName)
                               throws AmibaException
Specified by:
load in interface FitnessCaseLoader<Double>
Throws:
AmibaException