maxone1: MAXONE1 fitness function

View source: R/maxone1.R

maxone1R 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)

adana documentation built on March 18, 2022, 6:03 p.m.

Related to maxone1 in adana...