class documentation
class BoundTransform(_BoundTransform):
Constructor: BoundTransform(*args, **kwargs)
Undocumented
| Method | __init__ |
Argument bounds can be None or bounds[0] and bounds[1] are lower and upper domain boundaries, each is either None or a scalar or a list or array of appropriate size. |
Inherited from BoundTransform:
| Method | inverse |
inverse transform of x from the bounded domain. |
| Method | repair |
transforms x into the bounded domain. |
| Method | transform |
Undocumented |
| Instance Variable | bounds |
Undocumented |
Inherited from BoundaryHandlerBase (via BoundTransform):
| Method | __call__ |
return penalty or list of penalties, by default zero(s). |
| Method | amend |
set bounds away from at=0.5 such that |
| Method | get |
return lower and upper bound of variable with index index |
| Method | get |
get_bounds('lower', 8) returns the lower bounds in 8-D |
| Method | has |
return True if any variable is bounded |
| Method | idx |
return index list of out-of-bound values in x. |
| Method | into |
set out-of-bound values on bounds and return x. |
| Method | is |
return True if x is in bounds. |
| Method | to |
return boundaries in format [[lb0, ub0], [lb1, ub1], ...], as used by BoxConstraints... class. |
| Method | update |
end-iteration callback of boundary handler (abstract/empty) |
| Instance Variable | bounds |
Undocumented |
| Instance Variable | use |
default behavior as to whether to use cached values |
| Method | _get |
ib == 0/1 means lower/upper bound, return a vector of length dimension |
| Instance Variable | _bounds |
saved return values of get_bounds(i, dim). Changing self.bounds may only be effective when this is reset. |