networkqit.algorithms.basinhoppingmod.BHRandStepBounded

class BHRandStepBounded(xmin, xmax, stepsize=0.5)[source]

Bounded random displacement: see: https://stackoverflow.com/a/21967888/2320035 Modified! (dropped acceptance-rejection sampling for a more specialized approach)

__init__(xmin, xmax, stepsize=0.5)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(xmin, xmax[, stepsize])

Initialize self.