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

# PGAGetFitnessCmaxValue(1)

returns the value of the multiplier used by PGAFitnessMinCmax.

## NAME

PGAGetFitnessCmaxValue - returns the value of the multiplier used by PGAFitnessMinCmax.

## INPUT PARAMETERS

- ctx

  \- context variable

## OUTPUT PARAMETERS

- none

  ## SYNOPSIS

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

## LOCATION

fitness.c

## EXAMPLE

```
Example:
PGAContext *ctx;
double cmax;
:
cmax = PGAGetFitnessCmaxValue(ctx);
```
