class_docstr: Blackbox Optimiser Class. 
class_docstr_tok: ["Blackbox","Optimiser","Class","."]
docstr: Updates the optimum point and value according the data in qinfo.
  For single fidelity methods we update if qinfo.val is larger than the current
  value. For multi-fidelity methods, we do the same but also check if qinfo.fidel
  is the same as opt_fidel. Can be overridden by a child class if you want to do
  anything differently.
docstr_tok: ["Updates","the","optimum","point","and","value","according","the","data","in","qinfo",".","For","single","fidelity","methods","we","update","if","qinfo.val","is","larger","than","the","current","value",".","For","multi-fidelity","methods",",","we","do","the","same","but","also","check","if","qinfo.fidel","is","the","same","as","opt_fidel",".","Can","be","overridden","by","a","child","class","if","you","want","to","do","anything","differently","."]
code: def _update_opt_point_and_val(
      self, qinfo, query_is_at_fidel_to_opt=None
  ):
      """Updates the optimum point and value according the data in qinfo.
      For single fidelity methods we update if qinfo.val is larger than the current
      value. For multi-fidelity methods, we do the same but also check if qinfo.fidel
      is the same as opt_fidel. Can be overridden by a child class if you want to do
      anything differently.
      """
      if query_is_at_fidel_to_opt is not None:
          if not query_is_at_fidel_to_opt:
              # if the fidelity queried at is not fidel_to_opt, then return
              return
      # Optimise curr_opt_val and curr_true_opt_val
      if qinfo.val > self.curr_opt_val:
          self.curr_opt_val = qinfo.val
          self.curr_opt_point = qinfo.point
      if qinfo.true_val > self.curr_true_opt_val:
          self.curr_true_opt_val = qinfo.true_val
          self.curr_true_opt_point = qinfo.point
  
imports: from __future__ import division
  from argparse import Namespace
  import numpy
  from ..exd.exd_core import ExperimentDesigner, exd_core_args
  from ..utils.option_handler import load_options
label_desc: Use image node_id 7 for calling the BlackboxOptimiser obj's underlying member method code with example usage: obj._update_opt_point_and_val(qinfo, query_is_at_fidel_to_opt) without return types