gsc_metaepochs_count: Factory function for a global stopping condition that stops...

View source: R/global_stopping_condition.R

gsc_metaepochs_countR Documentation

Factory function for a global stopping condition that stops the computation after given number of metaepochs.

Description

Factory function for a global stopping condition that stops the computation after given number of metaepochs.

Usage

gsc_metaepochs_count(metaepochs_count)

Arguments

metaepochs_count
  • numeric - maximum number of metaepochs

Value

Function that receives a list of metaepoch snapshots and returns a Boolean value determining whether the computation should be stopped based on how many metaepochs have passed, which can be used as a global stopping condition for the hms function.

Examples

global_stopping_condition <- gsc_metaepochs_count(10)

WojtAcht/hms documentation built on March 16, 2024, 7:51 p.m.