parameters: (self, v_min)
return_statement: return cbounds
docstring: Construct locally (approximately) convex bounds
  
          Parameters
          ----------
          v_min : Vertex object
                  The minimiser vertex
  
          Returns
          -------
          cbounds : list of lists
              List of size dim with length-2 list of bounds for each dimension
docstring_summary: Construct locally (approximately) convex bounds
docstring_tokens: Construct locally ( approximately ) convex bounds
function: def construct_lcb_simplicial(self, v_min):
          """
          Construct locally (approximately) convex bounds
  
          Parameters
          ----------
          v_min : Vertex object
                  The minimiser vertex
  
          Returns
          -------
          cbounds : list of lists
              List of size dim with length-2 list of bounds for each dimension
  
          """
          cbounds = [[x_b_i[0], x_b_i[1]] for x_b_i in self.bounds]
          # Loop over all bounds
          for vn in v_min.nn:
              for i, x_i in enumerate(vn.x_a):
                  # Lower bound
                  if (x_i < v_min.x_a[i]) and (x_i > cbounds[i][0]):
                      cbounds[i][0] = x_i
  
                  # Upper bound
                  if (x_i > v_min.x_a[i]) and (x_i < cbounds[i][1]):
                      cbounds[i][1] = x_i
  
          if self.disp:
              logging.info('cbounds found for v_min.x_a = {}'.format(v_min.x_a))
              logging.info('cbounds = {}'.format(cbounds))
  
          return cbounds
function_tokens: def construct_lcb_simplicial ( self , v_min ) : cbounds = [ [ x_b_i [ 0 ] , x_b_i [ 1 ] ] for x_b_i in self . bounds ] # Loop over all bounds for vn in v_min . nn : for i , x_i in enumerate ( vn . x_a ) : # Lower bound if ( x_i < v_min . x_a [ i ] ) and ( x_i > cbounds [ i ] [ 0 ] ) : cbounds [ i ] [ 0 ] = x_i # Upper bound if ( x_i > v_min . x_a [ i ] ) and ( x_i < cbounds [ i ] [ 1 ] ) : cbounds [ i ] [ 1 ] = x_i if self . disp : logging . info ( 'cbounds found for v_min.x_a = {}' . format ( v_min . x_a ) ) logging . info ( 'cbounds = {}' . format ( cbounds ) ) return cbounds