Skip to contents

Checks whether the input for crossover is given correctly. If not, a message is prompted which asks to input one of the 2 available crossover methods. The available inputs are "E" and "R". "E" refers to partitioning at equal intervals and "R" refers to random partitioning.

Usage

readinteger()

Value

Returns the selected crossover method (character)

See also

Examples

if (FALSE) {
  readinteger()
}