dlife.ga
Class UnrecognizedFitnessFunctionTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dlife.ga.UnrecognizedFitnessFunctionTypeException
- All Implemented Interfaces:
- Serializable
public class UnrecognizedFitnessFunctionTypeException
- extends RuntimeException
Thrown by the Population class if the FitnessFunction used to create the
Population is not a recognized sub-type of FitnessFunction. The most likely
cause is that a new sub-class of FitnessFuntion was created instead of creating
a sub-class of BatchFitnessFunction or IndividualFitnessFunction. If the problem
is not easily fixed by making the new FitnessFunction a sub-class of
BatchFitnessFunction or IndividualFitnessFunction then the Population class will
need to be edited to recognize the new type of fitness function.
- Version:
- May 27, 2008
- Author:
- Grant Braught, Dickinson College
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnrecognizedFitnessFunctionTypeException
public UnrecognizedFitnessFunctionTypeException(String msg)
- Construct a new UnrecognizedFitnessFunctionTypeException with the
specified message.
- Parameters:
msg - the message.