maxone1 {adana}R Documentation

MAXONE1 fitness function

Description

Fitness function that calculates the number of 1s in each individual

Usage

maxone1(x, ...)

Arguments

x

A vector

...

Further arguments passed to or from other methods.

Value

Number of 1s

Author(s)

Zeynel Cebeci & Erkut Tekeli

See Also

maxone, maxone2, minone

Examples

C2 = c(1, 1, 1, 0, 1, 0, 0, 0)
maxone1(C2)
C3 = c(1, 1, 1, 1, 1, 1, 1, 1)
maxone1(C3)

[Package adana version 1.1.0 Index]