parameters: (self, domain, optimizable, optimizer_parameters, num_random_samples=None)
docstring: Construct a NewtonOptimizer.
  
          :param domain: the domain that this optimizer operates over
          :type domain: interfaces.domain_interface.DomainInterface subclass from cpp_wrappers
          :param optimizable: object representing the objective function being optimized
          :type optimizable: interfaces.optimization_interface.OptimizableInterface subclass from cpp_wrappers
          :param optimizer_parameters: parameters describing how to perform optimization (tolerances, iterations, etc.)
          :type optimizer_parameters: cpp_wrappers.optimization.NewtonParameters object
          :params num_random_samples: number of random samples to use if performing 'dumb' search
          :type num_random_sampes: int >= 0
docstring_summary: Construct a NewtonOptimizer.
docstring_tokens: Construct a NewtonOptimizer .
function: def __init__(self, domain, optimizable, optimizer_parameters, num_random_samples=None):
          """Construct a NewtonOptimizer.
  
          :param domain: the domain that this optimizer operates over
          :type domain: interfaces.domain_interface.DomainInterface subclass from cpp_wrappers
          :param optimizable: object representing the objective function being optimized
          :type optimizable: interfaces.optimization_interface.OptimizableInterface subclass from cpp_wrappers
          :param optimizer_parameters: parameters describing how to perform optimization (tolerances, iterations, etc.)
          :type optimizer_parameters: cpp_wrappers.optimization.NewtonParameters object
          :params num_random_samples: number of random samples to use if performing 'dumb' search
          :type num_random_sampes: int >= 0
  
          """
          self.domain = domain
          self.objective_function = optimizable
          self.optimizer_type = C_GP.OptimizerTypes.newton
          self.optimizer_parameters = _CppOptimizerParameters(
              domain_type=domain._domain_type,
              objective_type=optimizable.objective_type,
              optimizer_type=self.optimizer_type,
              num_random_samples=num_random_samples,
              optimizer_parameters=optimizer_parameters,
          )
function_tokens: def __init__ ( self , domain , optimizable , optimizer_parameters , num_random_samples = None ) : self . domain = domain self . objective_function = optimizable self . optimizer_type = C_GP . OptimizerTypes . newton self . optimizer_parameters = _CppOptimizerParameters ( domain_type = domain . _domain_type , objective_type = optimizable . objective_type , optimizer_type = self . optimizer_type , num_random_samples = num_random_samples , optimizer_parameters = optimizer_parameters , )