class_docstr: A MultiObjectiveWeightedFunction class used to hold multi-objective weighted functions.
docstr: Initialization method.
  
  Args:
      functions: Pointers to functions that will return the fitness value.
      weights: Weights for weighted-sum strategy.
docstr_tok: ["Initialization","method",".","Args",":","functions",":","Pointers","to","functions","that","will","return","the","fitness","value",".","weights",":","Weights","for","weighted-sum","strategy","."]
code: def __init__(
      self, functions: List[callable], weights: List[float]
  ) -> None:
      """Initialization method.
  
      Args:
          functions: Pointers to functions that will return the fitness value.
          weights: Weights for weighted-sum strategy.
  
      """
  
      logger.info(
          "Overriding class: MultiObjectiveFunction -> MultiObjectiveWeightedFunction."
      )
  
      super(MultiObjectiveWeightedFunction, self).__init__(functions)
  
      self.weights = weights or []
  
      logger.debug("Weights: %s", self.weights)
      logger.info("Class overrided.")
  
file_path: opytimizer/opytimizer/functions/multi_objective/weighted.py
imports: from typing import List
  import numpy
  import opytimizer.utils.exception
  from opytimizer.functions.multi_objective.standard import MultiObjectiveFunction
  from opytimizer.utils import logging
label_desc: Use image node_id 1 to create a new MultiObjectiveWeightedFunction object from inherited base classes: MultiObjectiveFunction with example: obj = MultiObjectiveWeightedFunction(functions, weights)