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

# PGAGetUniformCrossoverProb(3)

returns the probability of a bit being selected from the first child string in uniform crossover

## NAME

PGAGetUniformCrossoverProb - returns the probability of a bit being selected from the first child string in uniform crossover

## INPUT PARAMETERS

- ctx

  \- context variable

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

```
#include "pgapack.h"
double  PGAGetUniformCrossoverProb(ctx)
PGAContext *ctx
```

## LOCATION

cross.c

## EXAMPLE

```
Example:
PGAContext *ctx;
double pu;
:
pu = PGAGetUniformCrossoverProb(ctx);
```
