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

# PGASetRestartAlleleChangeProb(3)

specifies the probability with which an allele will be mutated during a restart

## NAME

PGASetRestartAlleleChangeProb - specifies the probability with which an allele will be mutated during a restart

## INPUT PARAMETERS

- ctx

  \- context variable

- prob

  \- probability of mutation

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
void  PGASetRestartAlleleChangeProb(ctx, prob)
PGAContext *ctx
double prob
```

## LOCATION

restart.c

## EXAMPLE

```
Example:
PGAContext *ctx;
:
PGASetRestartAlleleChangeProb(ctx, 0.5);
```
