designspace.RealRemaining#

class designspace.RealRemaining(lo: float, hi: float, lo_inclusive: bool, hi_inclusive: bool, grid: QuantizedSpec | None)#

Bases: object

What a real parameter may still take, given a partial configuration.

lo#

Lower bound of the remaining interval.

Type:

float

hi#

Upper bound of the remaining interval.

Type:

float

lo_inclusive#

Whether lo itself is still allowed. A strict < constraint leaves it excluded.

Type:

bool

hi_inclusive#

Whether hi itself is still allowed.

Type:

bool

grid#

The grid, if the parameter is quantized.

Type:

QuantizedSpec | None