---
name: "PGAGetRestartFrequencyValue"
section: "3"
platform: "linux"
package: "pgapack"
version: "1.1.1-3"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/PGAGetRestartFrequencyValue"
---

# PGAGetRestartFrequencyValue(3)

returns the number of iterations of no change in the best string after which the algorithm should restart

## NAME

PGAGetRestartFrequencyValue - returns the number of iterations of no change in the best string after which the algorithm should restart

## INPUT PARAMETERS

- ctx

  \- context variable

- numiter

  \- number of changeless iterations

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
int  PGAGetRestartFrequencyValue(ctx)
PGAContext *ctx
```

## LOCATION

restart.c

## EXAMPLE

```
Example:
PGAContext *ctx;
:
numiter = PGAGetRestartFrequencyValue(ctx);
```
