org.jscience.computing.ai.evolutionary.geneticalgorithms
Class InvalidGAConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jscience.computing.ai.evolutionary.geneticalgorithms.InvalidGAConfigurationException
All Implemented Interfaces:
java.io.Serializable

public class InvalidGAConfigurationException
extends java.lang.RuntimeException

Exception thrown when an invalid configuration of genetic algorithm is tried to be used.

For example if you extend a genetic-algorithm class like BinaryCodedGa and you forgot to overwrite evaluateIndividual(...) function, this exception is thrown from the BinaryCodedGa class.

See Also:
Serialized Form

Constructor Summary
InvalidGAConfigurationException(java.lang.String message)
          Constructs a new InvalidGAConfigurationException instance with the given error message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidGAConfigurationException

public InvalidGAConfigurationException(java.lang.String message)
Constructs a new InvalidGAConfigurationException instance with the given error message.

Parameters:
message - An error message describing the reason this exception is being thrown.