piglot.utils.scalarisations.read_scalarisation
- read_scalarisation(config: str | Dict[str, Any], objectives: List[IndividualObjective]) Scalarisation[source]
Read a scalarisation function from a configuration.
Parameters
- configUnion[str, Dict[str, Any]]
Configuration of the scalarisation function.
- objectivesList[IndividualObjective]
List of objectives to scalarise.
Returns
- Scalarisation
Scalarisation function.