Package transsys :: Module optim :: Class LsysDisparityFitnessResult
[hide private]
[frames] | no frames]

Class LsysDisparityFitnessResult

source code

   object --+    
            |    
FitnessResult --+
                |
               LsysDisparityFitnessResult

Result of a disparity objective evaluation.

Instance Methods [hide private]
 
__init__(self, fitness, best_factor_list, score_table)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
getTranssysProgramComments(self)
Get a list of strings describing the objective value and its computation.
source code

Inherited from FitnessResult: __str__

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Instance Variables [hide private]

Inherited from FitnessResult: fitness

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, fitness, best_factor_list, score_table)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

getTranssysProgramComments(self)

source code 

Get a list of strings describing the objective value and its computation.

The idea is to attach this list to the comments of the transsys program that has been evaluated.

Notice that since the FitnessResult does not keep track of the transsys program it pertains to, so it's up to the user of this method to make sure the comments are added to the correct transsys program.

Overrides: FitnessResult.getTranssysProgramComments
(inherited documentation)