Package gmisclib :: Module opt :: Class BadResult
[frames] | no frames]

Class BadResult

source code


The function to be optimized returns some illegal result. For instance, an array of the wrong size or type, or it returns None for the initial evaluation.

Instance Methods
 
__init__(self, s=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code

Inherited from exceptions.RuntimeError: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__, __unicode__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables
  __doc__ = """The function to be optimized returns some illegal...
Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details

__init__(self, s=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details

__doc__

Value:
"""The function to be optimized returns some illegal result.
		For instance, an array of the wrong size or type,
		or it returns None for the initial evaluation."""