Learn R Programming

ConsRank (version 2.0.1)

FASTDECOR: FAST algorithm calling DECOR

Description

FAST algorithm repeats DECOR a prespecified number of time. It returns the best solutions among the iterations

Usage

FASTDECOR(X, Wk = NULL, maxiter = 10, NP = 15, L = 100, FF = 0.4,
  CR = 0.9, FULL = FALSE, PS = TRUE)

Arguments

X

A N by M data matrix, in which there are N judges and M objects to be judged. Each row is a ranking of the objects which are represented by the columns. Alternatively X can contain the rankings observed only once. In this case the argument Wk must be used

Wk

Optional: the frequency of each ranking in the data

maxiter

maximum number of iterations. Default 10

NP

The number of population individuals

L

Generations limit: maximum number of consecutive generations without improvement

FF

The scaling rate for mutation. Must be in [0,1]

CR

The crossover range. Must be in [0,1]

FULL

Default FULL=FALSE. If FULL=TRUE, the searching is limited to the space of full rankings. In this case, the data matrix must contain full rankings.

PS

Default PS=TRUE. If PS=TRUE the number of a multiple of 5 iterations is diplayed

Value

a "list" containing the following components:

Consensus the Consensus Ranking
Tau averaged TauX rank correlation coefficient

References

D'Ambrosio, A., Mazzeo, G., Iorio, C., and Siciliano, R. (2017). A differential evolution algorithm for finding the median ranking under the Kemeny axiomatic approach. Computers and Operations Research, vol. 82, pp. 126-138.

Examples

Run this code
# NOT RUN {
#data(EMD)
#CR=FASTDECOR(EMD[,1:15],EMD[,16])

# }

Run the code above in your browser using DataLab