class documentation

class _BoundDomainPenalty:

Constructor: _BoundDomainPenalty(function, boundaries)

View In Hierarchy

[WIP early] function wrapper for penalty boundary handler, looks kinda complex

Method __call__ Undocumented
Method __getattr__ return getattr(self.function, name) when not hasattr(self, name).
Method __init__ return a callable that evaluates function only within boundaries
Method callback needs the mean and the fitness values?
Instance Variable boundary_handler Undocumented
Instance Variable function Undocumented
Instance Variable transform Undocumented
def __call__(self, x, *args, **kwargs):

Undocumented

def __getattr__(self, name):

return getattr(self.function, name) when not hasattr(self, name).

This emulates the function interface, kinda like blind inheritance.

def __init__(self, function, boundaries):

return a callable that evaluates function only within boundaries

def callback(self):

needs the mean and the fitness values?

boundary_handler =

Undocumented

function =

Undocumented

transform =

Undocumented