cpf2 {MOLHD}R Documentation

Combine Pareto front designs of 2 criteria

Description

Combine Pareto front designs of 2 criteria

Usage

cpf2(newdes, newpfval, curdes, curpfval)

Arguments

newdes

a matrix which is a column bind of new designs

newpfval

a matrix each row is 2 criteria correponding to each design

curdes

a matrix which is a column bind of current designs on Pareto front

curpfval

a matrix each row is 2 criteria correponding to each Pareto front design

Details

This function is used to combine 2 criteria Pareto front designs

Value

pfdes

The column bind of Pareto front designs

pfvals

The Pareto front values corresponding to the Pareto front designs

Examples


#Combine Pareto fronts each with 5 random starts for Mm and mp criteria
## Not run: 
pf1=pfMp(20,2,crlim = cbind(c(4.5,6.5),c(26,36)),nstarts = 5)
pf2=pfMp(20,2,crlim = cbind(c(4.5,6.5),c(26,36)),nstarts = 5)
pfnew=cpf2(pf1$pfdes,pf1$pfvals,pf2$pfdes,pf2$pfvals)
pfnew$pfdes
pfnew$pfvals

## End(Not run)

[Package MOLHD version 0.2 Index]