10
10
# ' exp(1)-distribution, so do not define \code{infill.opt.cb.lambda}.
11
11
# ' The optimizer for each proposal is configured in the same way as for the single point case,
12
12
# ' i. e., by specifying \code{infill.opt} and related stuff.
13
- # ' \dQuote{multicrit }: Proposes points by evolutionary multicriteria optimization.
14
- # ' The EA is a (mu+1) type of algorithm and runs for \code{multicrit .maxit} generations.
13
+ # ' \dQuote{moimbo }: Proposes points by multiobjective infill criteria via evolutionary multicriteria optimization.
14
+ # ' The EA is a (mu+1) type of algorithm and runs for \code{moimbo .maxit} generations.
15
15
# ' The population size is set to \code{propose.points}.
16
- # ' The selection criterion is \code{multicrit .selection}.
16
+ # ' The selection criterion is \code{moimbo .selection}.
17
17
# ' \dQuote{cl}: Proposes points by constant liar strategy.
18
18
# ' Only meaningfull if \code{infill.crit == "cb"}
19
19
# ' In the first step the kriging model is fitted based on the real data and the best point is calculated
24
24
# ' Default is \code{cb}.
25
25
# ' @param cl.lie [\code{function}]\cr
26
26
# ' Function used by constant liar method for lying. Default is \code{min}.
27
- # ' @param multicrit .objective [\code{character(1)}]\cr
27
+ # ' @param moimbo .objective [\code{character(1)}]\cr
28
28
# ' Objectives which are optimized in multicrit approach.
29
29
# ' Possible values are: \dQuote{mean.dist}, \dQuote{ei.dist}, \dQuote{mean.se}, \dQuote{mean.se.dist}.
30
30
# ' Default is \dQuote{ei.dist}.
31
- # ' @param multicrit .dist [\code{character(1)}]\cr
31
+ # ' @param moimbo .dist [\code{character(1)}]\cr
32
32
# ' Distance function used in multicrit EA.
33
33
# ' Possible values are: \dQuote{nearest.neigbor}, \dQuote{nearest.better}.
34
34
# ' Default is \dQuote{nearest.better}.
35
35
# FIXME: a link to the definition of nearest.better and nearest.neigbor?
36
- # ' @param multicrit .selection [\code{character(1)}]\cr
36
+ # ' @param moimbo .selection [\code{character(1)}]\cr
37
37
# ' Method used for selecting 1 element for removal from the population
38
38
# ' in each iteration of the multicriteria EA.
39
39
# ' Possible values are:
40
40
# ' \dQuote{hypervolume}: Non-dominated sorting + hypervolume contribution.
41
41
# ' \dQuote{crowdingdist}: Non-dominated sorting + crowding distance based ranking.
42
- # ' \dQuote{first}: Non-dominated sorting + first objective of \code{multicrit .objective} as criterion.
43
- # ' \dQuote{last}: Non-dominated sorting + last objective of \code{multicrit .objective} as criterion.
42
+ # ' \dQuote{first}: Non-dominated sorting + first objective of \code{moimbo .objective} as criterion.
43
+ # ' \dQuote{last}: Non-dominated sorting + last objective of \code{moimbo .objective} as criterion.
44
44
# ' Default is \code{hypervolume}.
45
- # ' @param multicrit .maxit [\code{character(1)}]\cr
45
+ # ' @param moimbo .maxit [\code{character(1)}]\cr
46
46
# ' Number of generations for multicriteria EA.
47
47
# ' Default is 100.
48
- # ' @param multicrit .sbx.eta [\code{numeric(1)}]\cr
48
+ # ' @param moimbo .sbx.eta [\code{numeric(1)}]\cr
49
49
# ' Distance parameter of crossover distribution, see \code{\link[emoa]{sbx_operator}}.
50
50
# ' Default is 15.
51
- # ' @param multicrit .sbx.p [\code{numeric(1)}]\cr
51
+ # ' @param moimbo .sbx.p [\code{numeric(1)}]\cr
52
52
# ' Probability of 1-point crossover, see \code{\link[emoa]{sbx_operator}}.
53
53
# ' Default is 1.
54
- # ' @param multicrit .pm.eta [\code{numeric(1)}]\cr
54
+ # ' @param moimbo .pm.eta [\code{numeric(1)}]\cr
55
55
# ' Distance parameter of mutation distribution, see \code{\link[emoa]{pm_operator}}.
56
56
# ' Default is 15.
57
- # ' @param multicrit .pm.p [\code{numeric(1)}]\cr
57
+ # ' @param moimbo .pm.p [\code{numeric(1)}]\cr
58
58
# ' Probability of 1-point mutation, see \code{\link[emoa]{pm_operator}}.
59
59
# ' Default is 1.
60
60
# ' @return [\code{\link{MBOControl}}].
63
63
setMBOControlMultiPoint = function (control ,
64
64
method = NULL ,
65
65
cl.lie = NULL ,
66
- multicrit .objective = NULL ,
67
- multicrit .dist = NULL ,
68
- multicrit .selection = NULL ,
69
- multicrit .maxit = NULL ,
70
- multicrit .sbx.eta = NULL , multicrit .sbx.p = NULL ,
71
- multicrit .pm.eta = NULL , multicrit .pm.p = NULL ) {
66
+ moimbo .objective = NULL ,
67
+ moimbo .dist = NULL ,
68
+ moimbo .selection = NULL ,
69
+ moimbo .maxit = NULL ,
70
+ moimbo .sbx.eta = NULL , moimbo .sbx.p = NULL ,
71
+ moimbo .pm.eta = NULL , moimbo .pm.p = NULL ) {
72
72
73
73
assertClass(control , " MBOControl" )
74
74
@@ -85,32 +85,32 @@ setMBOControlMultiPoint = function(control,
85
85
}
86
86
assertFunction(control $ multipoint.cl.lie )
87
87
88
- control $ multipoint.multicrit .objective = coalesce(multicrit .objective , control $ multipoint.multicrit .objective , " ei.dist" )
89
- assertChoice(control $ multipoint.multicrit .objective , choices = c(" mean.dist" , " ei.dist" , " mean.se" , " mean.se.dist" ))
88
+ control $ multipoint.moimbo .objective = coalesce(moimbo .objective , control $ multipoint.moimbo .objective , " ei.dist" )
89
+ assertChoice(control $ multipoint.moimbo .objective , choices = c(" mean.dist" , " ei.dist" , " mean.se" , " mean.se.dist" ))
90
90
91
- control $ multipoint.multicrit .dist = coalesce(multicrit .dist , control $ multipoint.multicrit .dist , " nearest.better" )
92
- assertChoice(control $ multipoint.multicrit .dist , choices = c(" nearest.neighbor" , " nearest.better" ))
91
+ control $ multipoint.moimbo .dist = coalesce(moimbo .dist , control $ multipoint.moimbo .dist , " nearest.better" )
92
+ assertChoice(control $ multipoint.moimbo .dist , choices = c(" nearest.neighbor" , " nearest.better" ))
93
93
94
- control $ multipoint.multicrit .selection = coalesce(multicrit .selection , control $ multipoint.multicrit .selection , " hypervolume" )
95
- assertChoice(control $ multipoint.multicrit .selection , choices = c(" hypervolume" , " crowdingdist" , " first" , " last" ))
94
+ control $ multipoint.moimbo .selection = coalesce(moimbo .selection , control $ multipoint.moimbo .selection , " hypervolume" )
95
+ assertChoice(control $ multipoint.moimbo .selection , choices = c(" hypervolume" , " crowdingdist" , " first" , " last" ))
96
96
97
- if (! is.null(multicrit .maxit )) {
98
- multicrit .maxit = asCount(multicrit .maxit )
97
+ if (! is.null(moimbo .maxit )) {
98
+ moimbo .maxit = asCount(moimbo .maxit )
99
99
}
100
- control $ multipoint.multicrit .maxit = coalesce(multicrit .maxit , control $ multipoint.multicrit .maxit , 100L )
101
- assertCount(control $ multipoint.multicrit .maxit , na.ok = FALSE , positive = TRUE )
100
+ control $ multipoint.moimbo .maxit = coalesce(moimbo .maxit , control $ multipoint.moimbo .maxit , 100L )
101
+ assertCount(control $ multipoint.moimbo .maxit , na.ok = FALSE , positive = TRUE )
102
102
103
- control $ multipoint.multicrit .sbx.eta = coalesce(multicrit .sbx.eta , control $ multipoint.multicrit .sbx.eta , 15 )
104
- assertNumber(control $ multipoint.multicrit .sbx.eta , na.ok = FALSE , lower = 0 )
103
+ control $ multipoint.moimbo .sbx.eta = coalesce(moimbo .sbx.eta , control $ multipoint.moimbo .sbx.eta , 15 )
104
+ assertNumber(control $ multipoint.moimbo .sbx.eta , na.ok = FALSE , lower = 0 )
105
105
106
- control $ multipoint.multicrit .sbx.p = coalesce(multicrit .sbx.p , control $ multipoint.multicrit .sbx.p , 1 )
107
- assertNumber(control $ multipoint.multicrit .sbx.p , na.ok = FALSE , lower = 0 , upper = 1 )
106
+ control $ multipoint.moimbo .sbx.p = coalesce(moimbo .sbx.p , control $ multipoint.moimbo .sbx.p , 1 )
107
+ assertNumber(control $ multipoint.moimbo .sbx.p , na.ok = FALSE , lower = 0 , upper = 1 )
108
108
109
- control $ multipoint.multicrit .pm.eta = coalesce(multicrit .pm.eta , control $ multipoint.multicrit .pm.eta , 15 )
110
- assertNumber(control $ multipoint.multicrit .pm.eta , na.ok = FALSE , lower = 0 )
109
+ control $ multipoint.moimbo .pm.eta = coalesce(moimbo .pm.eta , control $ multipoint.moimbo .pm.eta , 15 )
110
+ assertNumber(control $ multipoint.moimbo .pm.eta , na.ok = FALSE , lower = 0 )
111
111
112
- control $ multipoint.multicrit .pm.p = coalesce(multicrit .pm.p , control $ multipoint.multicrit .pm.p , 1 )
113
- assertNumber(control $ multipoint.multicrit .pm.p , na.ok = FALSE , lower = 0 , upper = 1 )
112
+ control $ multipoint.moimbo .pm.p = coalesce(moimbo .pm.p , control $ multipoint.moimbo .pm.p , 1 )
113
+ assertNumber(control $ multipoint.moimbo .pm.p , na.ok = FALSE , lower = 0 , upper = 1 )
114
114
115
115
return (control )
116
116
}
0 commit comments