IntDistribution#

class IntDistribution(low: int, high: int, step: int = 1, log: bool = False)[source]#

Bases: BaseDistribution

Integer-based distribution.

The input parameters aren’t validated.

Look at suggest_int() to find more about the meaning of parameters.

Parameters:
low[source]#

The lower bound.

Type:

int

high[source]#

The upper bound.

Type:

int

step[source]#

The space between possible values.

Type:

int

log[source]#

The flag of using log domain.

Type:

bool

Attributes

log

step

low

high