diff --git a/DESCRIPTION b/DESCRIPTION index 57743d77..bd1f475d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -20,7 +20,7 @@ License: BSD_2_clause + file LICENSE Roxygen: list(wrap = FALSE) Imports: BBmisc (>= 1.10), - checkmate (>= 1.8.1), + checkmate (>= 1.8.2), methods Suggests: akima, @@ -38,4 +38,4 @@ Suggests: LazyData: yes ByteCompile: yes Version: 1.11 -RoxygenNote: 5.0.1 +RoxygenNote: 6.0.1 diff --git a/R/generateGridDesign.R b/R/generateGridDesign.R index 434ac358..d5774c85 100644 --- a/R/generateGridDesign.R +++ b/R/generateGridDesign.R @@ -62,8 +62,7 @@ generateGridDesign = function(par.set, resolution, trafo = FALSE) { if (isScalarNumeric(resolution)) { resolution = setNames(rep(resolution, length(pids.num)), pids.num) } - resolution = asInteger(resolution, lower = 1L, len = length(pids.num)) - assertNamed(resolution, type = "named") + resolution = asInteger(resolution, lower = 1L, len = length(pids.num), names = "named") if (!all(names(resolution) %in% pids.num)) stop("'resolution' must be named with parameter ids!") } diff --git a/R/isRequiresOk.R b/R/isRequiresOk.R index 62293f01..64c2863f 100644 --- a/R/isRequiresOk.R +++ b/R/isRequiresOk.R @@ -15,8 +15,7 @@ #' @export isRequiresOk = function(par.set, par.vals, ids = names(par.vals), use.defaults = TRUE) { assertClass(par.set, "ParamSet") - assertList(par.vals) - assertNamed(par.vals) + assertList(par.vals, names = "named") if (is.numeric(ids)) assertInteger(ids, lower = 1L, upper = length(par.vals), unique = TRUE) else diff --git a/man/LearnerParam.Rd b/man/LearnerParam.Rd index 18bdf7e4..ee103df7 100644 --- a/man/LearnerParam.Rd +++ b/man/LearnerParam.Rd @@ -2,16 +2,16 @@ % Please edit documentation in R/LearnerParam.R, R/makeLearnerParamFuns.R \name{LearnerParam} \alias{LearnerParam} -\alias{makeDiscreteLearnerParam} -\alias{makeDiscreteVectorLearnerParam} -\alias{makeFunctionLearnerParam} +\alias{makeNumericLearnerParam} +\alias{makeNumericVectorLearnerParam} \alias{makeIntegerLearnerParam} \alias{makeIntegerVectorLearnerParam} +\alias{makeDiscreteLearnerParam} +\alias{makeDiscreteVectorLearnerParam} \alias{makeLogicalLearnerParam} \alias{makeLogicalVectorLearnerParam} -\alias{makeNumericLearnerParam} -\alias{makeNumericVectorLearnerParam} \alias{makeUntypedLearnerParam} +\alias{makeFunctionLearnerParam} \title{Create a description object for a parameter of a machine learning algorithm.} \usage{ makeNumericLearnerParam(id, lower = -Inf, upper = Inf, allow.inf = FALSE, @@ -127,4 +127,3 @@ The S3 class is a \code{\link{Param}} which additionally stores these elements: See the note in \code{\link{Param}} about being able to pass expressions to certain arguments. } - diff --git a/man/OptPath.Rd b/man/OptPath.Rd index b90f84f2..e478b795 100644 --- a/man/OptPath.Rd +++ b/man/OptPath.Rd @@ -2,8 +2,8 @@ % Please edit documentation in R/OptPath.R, R/OptPathDF.R \name{OptPath} \alias{OptPath} -\alias{OptPathDF} \alias{makeOptPathDF} +\alias{OptPathDF} \title{Create optimization path.} \usage{ makeOptPathDF(par.set, y.names, minimize, add.transformed.x = FALSE, @@ -87,4 +87,3 @@ Other optpath: \code{\link{addOptPathEl}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/Param.Rd b/man/Param.Rd index 63904220..ab407a64 100644 --- a/man/Param.Rd +++ b/man/Param.Rd @@ -2,18 +2,18 @@ % Please edit documentation in R/aParam.R, R/makeParamFuns.R \name{Param} \alias{Param} -\alias{makeCharacterParam} -\alias{makeCharacterVectorParam} -\alias{makeDiscreteParam} -\alias{makeDiscreteVectorParam} -\alias{makeFunctionParam} +\alias{makeNumericParam} +\alias{makeNumericVectorParam} \alias{makeIntegerParam} \alias{makeIntegerVectorParam} \alias{makeLogicalParam} \alias{makeLogicalVectorParam} -\alias{makeNumericParam} -\alias{makeNumericVectorParam} +\alias{makeDiscreteParam} +\alias{makeDiscreteVectorParam} +\alias{makeFunctionParam} \alias{makeUntypedParam} +\alias{makeCharacterParam} +\alias{makeCharacterVectorParam} \title{Create a description object for a parameter.} \usage{ makeNumericParam(id, lower = -Inf, upper = Inf, allow.inf = FALSE, @@ -158,4 +158,3 @@ makeNumericVectorParam("x", len = 2) makeDiscreteParam("y", values = c("a","b")) makeCharacterParam("z") } - diff --git a/man/addOptPathEl.Rd b/man/addOptPathEl.Rd index 84c3ce1a..54a18604 100644 --- a/man/addOptPathEl.Rd +++ b/man/addOptPathEl.Rd @@ -85,4 +85,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/as.data.frame.OptPathDF.Rd b/man/as.data.frame.OptPathDF.Rd index da94bb7b..7044d812 100644 --- a/man/as.data.frame.OptPathDF.Rd +++ b/man/as.data.frame.OptPathDF.Rd @@ -66,4 +66,3 @@ Dependent parameters whose constraints are unsatisfied generate \code{NA} entrie respective columns. Factor columns of discrete parameters always have their complete level set from the \code{param.set}. } - diff --git a/man/checkParamSet.Rd b/man/checkParamSet.Rd index f1d158ab..25900ffc 100644 --- a/man/checkParamSet.Rd +++ b/man/checkParamSet.Rd @@ -33,4 +33,3 @@ ps = makeParamSet( ) checkParamSet(ps, dict = list(p = 3, z = "b")) } - diff --git a/man/convertParamSetToIrace.Rd b/man/convertParamSetToIrace.Rd index 5b741c0b..a88ad13c 100644 --- a/man/convertParamSetToIrace.Rd +++ b/man/convertParamSetToIrace.Rd @@ -21,4 +21,3 @@ Default is \code{FALSE}.} \description{ Converts to a textual description used in irace and then potentially calls \link[irace]{readParameters}. } - diff --git a/man/dfRowsToList.Rd b/man/dfRowsToList.Rd index dcdcc3fb..06780154 100644 --- a/man/dfRowsToList.Rd +++ b/man/dfRowsToList.Rd @@ -1,8 +1,8 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/dfRowsToList.R \name{dfRowsToList} -\alias{dfRowToList} \alias{dfRowsToList} +\alias{dfRowToList} \title{Convert a data.frame row to list of parameter-value-lists.} \usage{ dfRowsToList(df, par.set, enforce.col.types = FALSE, ...) @@ -51,4 +51,3 @@ And also see the argument \code{enforce.col.types} as a way around this restrict Dependent parameters whose requirements are not satisfied are represented by a scalar NA in the output. } - diff --git a/man/discreteNameToValue.Rd b/man/discreteNameToValue.Rd index 1a279b4e..e746cbe8 100644 --- a/man/discreteNameToValue.Rd +++ b/man/discreteNameToValue.Rd @@ -27,4 +27,3 @@ If the \code{name} is \code{NA}, indicating a missing parameter value due to uns p = makeDiscreteParam("u", values=c(x1 = "a", x2 = "b", x3 = "b")) discreteNameToValue(p, "x3") } - diff --git a/man/discreteValueToName.Rd b/man/discreteValueToName.Rd index c72cd265..ffa0ee14 100644 --- a/man/discreteValueToName.Rd +++ b/man/discreteValueToName.Rd @@ -26,4 +26,3 @@ If the value \code{x} is \code{NA}, indicating a missing parameter value due to p = makeDiscreteParam("u", values=c(x1="a", x2="b", x3="c")) discreteValueToName(p, "b") } - diff --git a/man/dropParams.Rd b/man/dropParams.Rd index b335fa43..fdb2e1b6 100644 --- a/man/dropParams.Rd +++ b/man/dropParams.Rd @@ -19,4 +19,3 @@ Parameter set.} \description{ Drop Params from ParamSet by ids. } - diff --git a/man/evaluateParamExpressions.Rd b/man/evaluateParamExpressions.Rd index daa787f8..931d40b9 100644 --- a/man/evaluateParamExpressions.Rd +++ b/man/evaluateParamExpressions.Rd @@ -44,4 +44,3 @@ par.vals = list( ) evaluateParamExpressions(par.vals, dict = list(k = 3)) } - diff --git a/man/filterParams.Rd b/man/filterParams.Rd index 0acdf727..6667b90c 100644 --- a/man/filterParams.Rd +++ b/man/filterParams.Rd @@ -2,8 +2,8 @@ % Please edit documentation in R/filterParams.R \name{filterParams} \alias{filterParams} -\alias{filterParamsDiscrete} \alias{filterParamsNumeric} +\alias{filterParamsDiscrete} \title{Get parameter subset of only certain parameters.} \usage{ filterParams(par.set, ids = NULL, type = NULL, tunable = c(TRUE, FALSE), @@ -76,4 +76,3 @@ filterParams(ps, type = "numeric", tunable = TRUE) # filter for all numeric parameters among "u", "v" and "x" filterParams(ps, type = "numeric", ids = c("u", "v", "x")) } - diff --git a/man/generateDesign.Rd b/man/generateDesign.Rd index 3cf8f448..cf00e866 100644 --- a/man/generateDesign.Rd +++ b/man/generateDesign.Rd @@ -105,4 +105,3 @@ ps = makeParamSet( ) generateDesign(10, ps, trafo = TRUE) } - diff --git a/man/generateDesignOfDefaults.Rd b/man/generateDesignOfDefaults.Rd index 9a36a147..10ee1b20 100644 --- a/man/generateDesignOfDefaults.Rd +++ b/man/generateDesignOfDefaults.Rd @@ -37,4 +37,3 @@ a design. Parameters default values, whose conditions (\code{requires}) are not fulfilled will be set to \code{NA} in the result. } - diff --git a/man/generateGridDesign.Rd b/man/generateGridDesign.Rd index 1259518e..dd4970e8 100644 --- a/man/generateGridDesign.Rd +++ b/man/generateGridDesign.Rd @@ -66,4 +66,3 @@ ps = makeParamSet( ) generateGridDesign(ps, resolution = c(x1 = 4, x2 = 5), trafo = TRUE) } - diff --git a/man/generateRandomDesign.Rd b/man/generateRandomDesign.Rd index a287136f..82863125 100644 --- a/man/generateRandomDesign.Rd +++ b/man/generateRandomDesign.Rd @@ -51,4 +51,3 @@ Note that if you have trafos attached to your params, the complete creation of t takes place on the UNTRANSFORMED scale. So this function samples from a uniform density over the param space on the UNTRANSFORMED scale, but not necessarily the transformed scale. } - diff --git a/man/getDefaults.Rd b/man/getDefaults.Rd index 5be07f96..38e6d7d7 100644 --- a/man/getDefaults.Rd +++ b/man/getDefaults.Rd @@ -45,4 +45,3 @@ ps2 = makeParamSet( ) getDefaults(ps2, dict = list(k = 3, p = 5.4)) } - diff --git a/man/getLower.Rd b/man/getLower.Rd index a846fd65..a2b12ba5 100644 --- a/man/getLower.Rd +++ b/man/getLower.Rd @@ -63,4 +63,3 @@ par.vals = list( getLower(par.vals) getUpper(par.vals, dict = list(n = 12)) } - diff --git a/man/getOptPathBestIndex.Rd b/man/getOptPathBestIndex.Rd index e6c4ae19..726e8b58 100644 --- a/man/getOptPathBestIndex.Rd +++ b/man/getOptPathBestIndex.Rd @@ -64,4 +64,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/getOptPathCol.Rd b/man/getOptPathCol.Rd index e8523324..ecf8f9fa 100644 --- a/man/getOptPathCol.Rd +++ b/man/getOptPathCol.Rd @@ -44,4 +44,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/getOptPathCols.Rd b/man/getOptPathCols.Rd index 403d1797..f1bf419b 100644 --- a/man/getOptPathCols.Rd +++ b/man/getOptPathCols.Rd @@ -47,4 +47,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/getOptPathDOB.Rd b/man/getOptPathDOB.Rd index fd0a9d4f..fd0b3758 100644 --- a/man/getOptPathDOB.Rd +++ b/man/getOptPathDOB.Rd @@ -41,4 +41,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/getOptPathEOL.Rd b/man/getOptPathEOL.Rd index e96a1ded..425247d6 100644 --- a/man/getOptPathEOL.Rd +++ b/man/getOptPathEOL.Rd @@ -41,4 +41,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/getOptPathEl.Rd b/man/getOptPathEl.Rd index 83bfafa0..b527c856 100644 --- a/man/getOptPathEl.Rd +++ b/man/getOptPathEl.Rd @@ -39,4 +39,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/getOptPathErrorMessages.Rd b/man/getOptPathErrorMessages.Rd index 8f61188e..005b6496 100644 --- a/man/getOptPathErrorMessages.Rd +++ b/man/getOptPathErrorMessages.Rd @@ -40,4 +40,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/getOptPathExecTimes.Rd b/man/getOptPathExecTimes.Rd index 936032b6..0e5d8d4f 100644 --- a/man/getOptPathExecTimes.Rd +++ b/man/getOptPathExecTimes.Rd @@ -40,4 +40,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/getOptPathLength.Rd b/man/getOptPathLength.Rd index e3f2b35f..850e098d 100644 --- a/man/getOptPathLength.Rd +++ b/man/getOptPathLength.Rd @@ -31,4 +31,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/getOptPathParetoFront.Rd b/man/getOptPathParetoFront.Rd index 3d10a762..bd04df3a 100644 --- a/man/getOptPathParetoFront.Rd +++ b/man/getOptPathParetoFront.Rd @@ -61,4 +61,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/getOptPathX.Rd b/man/getOptPathX.Rd index 1c8a69fb..40a31be4 100644 --- a/man/getOptPathX.Rd +++ b/man/getOptPathX.Rd @@ -40,4 +40,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{getOptPathY}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/getOptPathY.Rd b/man/getOptPathY.Rd index 644536f6..006b9c46 100644 --- a/man/getOptPathY.Rd +++ b/man/getOptPathY.Rd @@ -48,4 +48,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{getOptPathX}}, \code{\link{setOptPathElDOB}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/getParamIds.Rd b/man/getParamIds.Rd index 74a83016..a9374fd7 100644 --- a/man/getParamIds.Rd +++ b/man/getParamIds.Rd @@ -34,4 +34,3 @@ getParamIds(ps) getParamIds(ps, repeated = TRUE) getParamIds(ps, repeated = TRUE, with.nr = TRUE) } - diff --git a/man/getParamLengths.Rd b/man/getParamLengths.Rd index bafeff33..8263276f 100644 --- a/man/getParamLengths.Rd +++ b/man/getParamLengths.Rd @@ -34,4 +34,3 @@ getParamLengths(ps) par = makeNumericVectorParam("x", len = expression(k), lower = 0) getParamLengths(par, dict = list(k = 4)) } - diff --git a/man/getParamNr.Rd b/man/getParamNr.Rd index ebe261f4..0ef59c0b 100644 --- a/man/getParamNr.Rd +++ b/man/getParamNr.Rd @@ -28,4 +28,3 @@ ps = makeParamSet( getParamNr(ps) getParamNr(ps, devectorize = TRUE) } - diff --git a/man/getParamSet.Rd b/man/getParamSet.Rd index f979bca3..99a455e9 100644 --- a/man/getParamSet.Rd +++ b/man/getParamSet.Rd @@ -16,4 +16,3 @@ Object to extract the ParamSet from.} \description{ \code{getParamSet} is a generic and can be called to extract the \code{ParamSet} from different objects. } - diff --git a/man/getParamTypeCounts.Rd b/man/getParamTypeCounts.Rd index 64333e42..34df46af 100644 --- a/man/getParamTypeCounts.Rd +++ b/man/getParamTypeCounts.Rd @@ -18,4 +18,3 @@ Parameter set.} \description{ Returns information on the number of parameters of a each type. } - diff --git a/man/getParamTypes.Rd b/man/getParamTypes.Rd index 3afaaec1..9a04f607 100644 --- a/man/getParamTypes.Rd +++ b/man/getParamTypes.Rd @@ -40,4 +40,3 @@ Default is \code{TRUE}.} \description{ Returns type information for a parameter set. } - diff --git a/man/getRequirements.Rd b/man/getRequirements.Rd index 4f82045c..f4b13b22 100644 --- a/man/getRequirements.Rd +++ b/man/getRequirements.Rd @@ -23,4 +23,3 @@ Default is code{TRUE}.} \description{ Returns all \code{require}s-objects of a param set as a list. } - diff --git a/man/getTypeStrings.Rd b/man/getTypeStrings.Rd index 65ca2a07..75cd42c4 100644 --- a/man/getTypeStrings.Rd +++ b/man/getTypeStrings.Rd @@ -3,12 +3,12 @@ \name{getTypeStrings} \alias{getTypeStrings} \alias{getTypeStringsAll} +\alias{getTypeStringsNumeric} +\alias{getTypeStringsNumericStrict} +\alias{getTypeStringsInteger} \alias{getTypeStringsCharacter} \alias{getTypeStringsDiscrete} -\alias{getTypeStringsInteger} \alias{getTypeStringsLogical} -\alias{getTypeStringsNumeric} -\alias{getTypeStringsNumericStrict} \title{Get parameter type-strings.} \usage{ getTypeStringsAll() @@ -40,4 +40,3 @@ Default is \code{TRUE}.} \description{ Returns type strings used in \code{param$type} for certain groups of parameters. } - diff --git a/man/hasExpression.Rd b/man/hasExpression.Rd index 2d4e7c60..fb0c5ccf 100644 --- a/man/hasExpression.Rd +++ b/man/hasExpression.Rd @@ -30,4 +30,3 @@ ps2 = makeParamSet( hasExpression(ps1) hasExpression(ps2) } - diff --git a/man/hasForbidden.Rd b/man/hasForbidden.Rd index fc3fc7ca..fb706cfc 100644 --- a/man/hasForbidden.Rd +++ b/man/hasForbidden.Rd @@ -16,4 +16,3 @@ Parameter set.} \description{ Check parameter set for forbidden region. } - diff --git a/man/hasRequires.Rd b/man/hasRequires.Rd index 51a04a84..aa6f5178 100644 --- a/man/hasRequires.Rd +++ b/man/hasRequires.Rd @@ -17,4 +17,3 @@ Parameter or parameter set.} \code{TRUE} iff the parameter has any requirements or any parameter in the set has requirements. } - diff --git a/man/hasTrafo.Rd b/man/hasTrafo.Rd index 179a0428..ad443cbe 100644 --- a/man/hasTrafo.Rd +++ b/man/hasTrafo.Rd @@ -17,4 +17,3 @@ Parameter or parameter set.} \code{TRUE} iff the parameter has any trafos or any parameter in the set has trafos. } - diff --git a/man/hasType.Rd b/man/hasType.Rd index adaeb194..9810677f 100644 --- a/man/hasType.Rd +++ b/man/hasType.Rd @@ -1,12 +1,12 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/hasType.R \name{hasType} -\alias{hasCharacter} +\alias{hasType} \alias{hasDiscrete} \alias{hasInteger} \alias{hasLogical} +\alias{hasCharacter} \alias{hasNumeric} -\alias{hasType} \title{Check whether parameter set contains a certain type.} \usage{ hasDiscrete(par.set, include.logical = TRUE) @@ -38,4 +38,3 @@ Default is \code{TRUE}.} \code{TRUE} iff the parameter set contains at least one parameter of the mentioned type x. Type x always subsumes x and x-vector. } - diff --git a/man/isEmpty.Rd b/man/isEmpty.Rd index 30ad6f0d..0d66813e 100644 --- a/man/isEmpty.Rd +++ b/man/isEmpty.Rd @@ -16,4 +16,3 @@ Parameter set.} \description{ Check whether parameter set is empty. } - diff --git a/man/isFeasible.Rd b/man/isFeasible.Rd index 658a3fdd..dc9d288a 100644 --- a/man/isFeasible.Rd +++ b/man/isFeasible.Rd @@ -53,4 +53,3 @@ ps = makeParamSet( isFeasible(ps, list(0, "a")) # True isFeasible(ps, list("a", 0)) # False, wrong order } - diff --git a/man/isForbidden.Rd b/man/isForbidden.Rd index 70c49388..0397bb77 100644 --- a/man/isForbidden.Rd +++ b/man/isForbidden.Rd @@ -19,4 +19,3 @@ Parameter setting to check.} \description{ Parameter sets without a forbidden region always return \code{FALSE}. } - diff --git a/man/isRequiresOk.Rd b/man/isRequiresOk.Rd index c862644f..6201a2c3 100644 --- a/man/isRequiresOk.Rd +++ b/man/isRequiresOk.Rd @@ -26,4 +26,3 @@ Some requirements relay on default values of the \code{par.set}. Default is \cod Check if a parameter value satisfies the requirements of the parameter description. This only checks the \code{requires} expressions. } - diff --git a/man/isSpecialValue.Rd b/man/isSpecialValue.Rd index 886a2093..50c40986 100644 --- a/man/isSpecialValue.Rd +++ b/man/isSpecialValue.Rd @@ -19,4 +19,3 @@ Single value to check.} \description{ See title. } - diff --git a/man/isType.Rd b/man/isType.Rd index a0981a27..f76bf013 100644 --- a/man/isType.Rd +++ b/man/isType.Rd @@ -1,12 +1,12 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/isType.R \name{isType} -\alias{isCharacter} +\alias{isType} +\alias{isNumeric} \alias{isDiscrete} \alias{isInteger} \alias{isLogical} -\alias{isNumeric} -\alias{isType} +\alias{isCharacter} \title{Check parameter / parameter set contain ONLY a certain type.} \usage{ isNumeric(par, include.int = TRUE) @@ -37,4 +37,3 @@ Default is \code{TRUE}.} \description{ An empty param set is considered to be of all types. } - diff --git a/man/isTypeString.Rd b/man/isTypeString.Rd index 718917cd..35b94799 100644 --- a/man/isTypeString.Rd +++ b/man/isTypeString.Rd @@ -1,12 +1,12 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/isTypeString.R \name{isTypeString} +\alias{isTypeString} +\alias{isNumericTypeString} +\alias{isIntegerTypeString} \alias{isCharacterTypeString} \alias{isDiscreteTypeString} -\alias{isIntegerTypeString} \alias{isLogicalTypeString} -\alias{isNumericTypeString} -\alias{isTypeString} \alias{isVectorTypeString} \title{Check if type string is of certain type.} \usage{ @@ -42,4 +42,3 @@ Default is \code{TRUE}.} e.g. \code{isIntegerTypeString} checks if we have \dQuote{integer} or \dQuote{integervector}, and \code{isVectorTypeString} check if we have \dQuote{*vector}. } - diff --git a/man/isVector.Rd b/man/isVector.Rd index 1b6b56d2..d33104d0 100644 --- a/man/isVector.Rd +++ b/man/isVector.Rd @@ -17,4 +17,3 @@ Parameter or parameter set.} \code{TRUE} iff the parameter is a vector parameter or all parameters in the set are vector parameters. } - diff --git a/man/makeParamSet.Rd b/man/makeParamSet.Rd index 16acf866..8acb1da4 100644 --- a/man/makeParamSet.Rd +++ b/man/makeParamSet.Rd @@ -1,9 +1,9 @@ % Generated by roxygen2: do not edit by hand % Please edit documentation in R/ParamSet.R \name{makeParamSet} +\alias{makeParamSet} \alias{ParamSet} \alias{makeNumericParamSet} -\alias{makeParamSet} \title{Construct a parameter set.} \usage{ makeParamSet(..., params = NULL, forbidden = NULL, keys = NULL) @@ -83,4 +83,3 @@ makeParamSet( keys = c("p", "n") ) } - diff --git a/man/paramValueToString.Rd b/man/paramValueToString.Rd index 6a7a4ea4..5cde8830 100644 --- a/man/paramValueToString.Rd +++ b/man/paramValueToString.Rd @@ -53,4 +53,3 @@ ps = makeParamSet( ) paramValueToString(ps, list(x=c(1,2), y=NULL)) } - diff --git a/man/plotEAF.Rd b/man/plotEAF.Rd index 915c551e..254f1d5e 100644 --- a/man/plotEAF.Rd +++ b/man/plotEAF.Rd @@ -35,4 +35,3 @@ We changed the defaults of \code{\link[eaf]{eafplot}} in the following way: values and linetypes changed, too. With our colors / linetypes default it is possible to distinguish 6 different algorithms. But this can again be overwritten by the user. } - diff --git a/man/plotOptPath.Rd b/man/plotOptPath.Rd index 527ffaba..1dfcba45 100644 --- a/man/plotOptPath.Rd +++ b/man/plotOptPath.Rd @@ -58,4 +58,3 @@ types of variables. For every iteration up to 4 types of plots can be generated: One plot for the distribution of points in X and Y space respectively and plots for the trend of specified X variables, Y variables and extra measures over the time. } - diff --git a/man/plotYTraces.Rd b/man/plotYTraces.Rd index 8a8a2a01..7e673247 100644 --- a/man/plotYTraces.Rd +++ b/man/plotYTraces.Rd @@ -21,4 +21,3 @@ names exec.time. Possible values are dob and exec.time, default is \code{dob}.} \description{ Plot function for \code{\link{renderYTraces}} } - diff --git a/man/removeMissingValues.Rd b/man/removeMissingValues.Rd index 50775a49..c755e703 100644 --- a/man/removeMissingValues.Rd +++ b/man/removeMissingValues.Rd @@ -16,4 +16,3 @@ List of paramter values.} \description{ Removes all scalar NAs from a parameter setting list. } - diff --git a/man/renderOptPathPlot.Rd b/man/renderOptPathPlot.Rd index cf0c12f6..862e3548 100644 --- a/man/renderOptPathPlot.Rd +++ b/man/renderOptPathPlot.Rd @@ -154,4 +154,3 @@ Same as \code{\link{plotOptPath}}, but renders the plots for just 1 iteration and returns a list of plots instead of printing the plot. Useful, if you want to extract single plots or to edit the ggplots by yourself. } - diff --git a/man/renderYTraces.Rd b/man/renderYTraces.Rd index fec1c829..f171fa3e 100644 --- a/man/renderYTraces.Rd +++ b/man/renderYTraces.Rd @@ -23,4 +23,3 @@ Can be used for only single-objective optimization paths. Useful to compare runs of different algorithms on the same optimization problem. You can add your own ggplot layers to the resulting plot object. } - diff --git a/man/repairPoint.Rd b/man/repairPoint.Rd index f5595c2e..bd5dd913 100644 --- a/man/repairPoint.Rd +++ b/man/repairPoint.Rd @@ -25,4 +25,3 @@ Default is \code{FALSE}.} \description{ Clips values outside of box constraints to bounds. } - diff --git a/man/sampleValue.Rd b/man/sampleValue.Rd index e856a4e7..7467d548 100644 --- a/man/sampleValue.Rd +++ b/man/sampleValue.Rd @@ -46,4 +46,3 @@ ps = makeParamSet( ) sampleValue(ps) } - diff --git a/man/sampleValues.Rd b/man/sampleValues.Rd index d43a4b70..707990f3 100644 --- a/man/sampleValues.Rd +++ b/man/sampleValues.Rd @@ -44,4 +44,3 @@ ps = makeParamSet( ) sampleValues(ps, 2) } - diff --git a/man/setOptPathElDOB.Rd b/man/setOptPathElDOB.Rd index 72de0fc0..d20c9a0f 100644 --- a/man/setOptPathElDOB.Rd +++ b/man/setOptPathElDOB.Rd @@ -36,4 +36,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{getOptPathX}}, \code{\link{getOptPathY}}, \code{\link{setOptPathElEOL}} } - diff --git a/man/setOptPathElEOL.Rd b/man/setOptPathElEOL.Rd index ae2b8293..3a49a979 100644 --- a/man/setOptPathElEOL.Rd +++ b/man/setOptPathElEOL.Rd @@ -36,4 +36,3 @@ Other optpath: \code{\link{OptPath}}, \code{\link{getOptPathX}}, \code{\link{getOptPathY}}, \code{\link{setOptPathElDOB}} } - diff --git a/man/setValueCNames.Rd b/man/setValueCNames.Rd index 05be4e66..ec254d07 100644 --- a/man/setValueCNames.Rd +++ b/man/setValueCNames.Rd @@ -21,4 +21,3 @@ For a parameter set this must be a list in the correct order.} If param has \code{cnames} set component names in a value. Otherwise \code{x} is left unchanged. } - diff --git a/man/trafoOptPath.Rd b/man/trafoOptPath.Rd index 9b650c9e..bd8fb2e2 100644 --- a/man/trafoOptPath.Rd +++ b/man/trafoOptPath.Rd @@ -31,4 +31,3 @@ as.data.frame(op) op = trafoOptPath(op) as.data.frame(op) } - diff --git a/man/trafoValue.Rd b/man/trafoValue.Rd index 25520ad4..928d7780 100644 --- a/man/trafoValue.Rd +++ b/man/trafoValue.Rd @@ -35,4 +35,3 @@ ps = makeParamSet( # now the values of "u" and "v" are transformed: trafoValue(ps, list(3, c(2, 4), "a")) } - diff --git a/man/updateParVals.Rd b/man/updateParVals.Rd index b1b2a753..d8a4b6aa 100644 --- a/man/updateParVals.Rd +++ b/man/updateParVals.Rd @@ -28,4 +28,3 @@ Update the values of a given parameter setting with a new parameter setting. Settings that do not meet the requirements anymore will be deleted from the first given parameter setting. Default values of the Param Set are respected to chek if the new param settings meet the requirements. } -