Nothing
#' @include internal.R ConservationModifier-class.R
NULL
#' @export
if (!methods::isClass("MultiObjApproach")) methods::setOldClass("MultiObjApproach")
NULL
#' Multi-objective approach class
#'
#' @description
#' This class is used to represent approaches for multi-objective optimization.
#' **Only experts should use the fields and methods for this class directly.**
#'
#' @name MultiObjApproach-class
#'
#' @family classes
#'
#' @export
MultiObjApproach <- R6::R6Class(
"MultiObjApproach",
inherit = ConservationModifier,
public = list(
#' @description
#' Solve a multi-objective optimization problem to generate a solution.
#' @param x `list` containing a compiled multi-objective optimization
#' problem (e.g., generated with [multi_compile()]).
#' @return A `list` of solutions.
run = function(x) {
# nocov start
cli::cli_abort("No defined $apply method.", .internal = TRUE)
# nocov end
}
)
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.