dist_func Interface

interface
private function dist_func(me, lower, upper) result(r)

Arguments

Type IntentOptional Attributes Name
class(simulated_annealing_type), intent(inout) :: me
real(kind=wp), intent(in) :: lower

lower bound

real(kind=wp), intent(in) :: upper

upper bound

Return Value real(kind=wp)

random value within [lower, upper]

Description

interface for distribution functions used for perturbations