lsc_metaepochs_without_improvement {hmsr}R Documentation

Factory function for a local stopping condition that stops a deme after given number of consecutive metaeopochs without an improvement of the best solution found in that deme.

Description

Factory function for a local stopping condition that stops a deme after given number of consecutive metaeopochs without an improvement of the best solution found in that deme.

Usage

lsc_metaepochs_without_improvement(max_metaepochs_without_improvement)

Arguments

max_metaepochs_without_improvement
  • numeric

Value

Function that can be used as a local stopping condition for hms.

Examples

local_stopping_condition <- lsc_metaepochs_without_improvement(5)

[Package hmsr version 1.0.1 Index]