net.sf.amiba.evolve.population
Class FitnessCase<T>

Object
  extended by FitnessCase<T>

public class FitnessCase<T>
extends Object

A FitnessCase is an example of terminal values and the expected outcome for that combination of terminal values. It is a simple container for a fitness case

Author:
juber patel

Constructor Summary
FitnessCase(Map<Character,T> values, T value)
           
 
Method Summary
 T getValue()
          get the expected resultant value for this combination of terminal values
 T getValueFor(Character terminal)
          get the value for the specified termianl
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitnessCase

public FitnessCase(Map<Character,T> values,
                   T value)
Method Detail

getValueFor

public T getValueFor(Character terminal)
get the value for the specified termianl

Parameters:
terminal -
Returns:

getValue

public T getValue()
get the expected resultant value for this combination of terminal values

Returns: