parameters: (self)
return_statement: return manipulator
docstring: Define the search space by creating a                                        
          ConfigurationManipulator
docstring_summary: Define the search space by creating a                                        
          ConfigurationManipulator
docstring_tokens: Define the search space by creating a ConfigurationManipulator
function: def manipulator(self):
          """                                                                          
          Define the search space by creating a                                        
          ConfigurationManipulator                                                     
          """
  
          # set the global flags needed for printing schedules
          if self.args.enable_NUMA_tuning == 0:
              self.enable_NUMA_tuning = False
          if self.args.enable_parallel_tuning == 0:
              self.enable_parallel_tuning = False
          if self.args.enable_denseVertexSet_tuning == 0:
              self.enable_denseVertexSet_tuning = False
  
  
          manipulator = ConfigurationManipulator()
          manipulator.add_parameter(
              EnumParameter('direction', 
                            ['SparsePush','DensePull', 'SparsePush-DensePull', 'DensePush-SparsePush']))
  
          #'edge-aware-dynamic-vertex-parallel' not supported with the latest g++ cilk implementation
          if self.enable_parallel_tuning:
              manipulator.add_parameter(EnumParameter('parallelization',['dynamic-vertex-parallel'])) 
          else:
              manipulator.add_parameter(EnumParameter('parallelization', ['serial']))
  
          manipulator.add_parameter(IntegerParameter('numSSG', 1, self.args.max_num_segments))
          
          if self.enable_NUMA_tuning:
              manipulator.add_parameter(EnumParameter('NUMA',['serial','static-parallel']))
  
          if self.enable_denseVertexSet_tuning:
              manipulator.add_parameter(EnumParameter('DenseVertexSet', ['boolean-array', 'bitvector']))
  
          # adding new parameters for PriorityGraph (Ordered GraphIt) 
          manipulator.add_parameter(IntegerParameter('delta', 1, self.args.max_delta))
  
          manipulator.add_parameter(
              EnumParameter('bucket_update_strategy', 
                            ['eager_priority_update','eager_priority_update_with_merge', 'lazy_priority_update']))
  
          return manipulator
function_tokens: def manipulator ( self ) : # set the global flags needed for printing schedules if self . args . enable_NUMA_tuning == 0 : self . enable_NUMA_tuning = False if self . args . enable_parallel_tuning == 0 : self . enable_parallel_tuning = False if self . args . enable_denseVertexSet_tuning == 0 : self . enable_denseVertexSet_tuning = False manipulator = ConfigurationManipulator ( ) manipulator . add_parameter ( EnumParameter ( 'direction' , [ 'SparsePush' , 'DensePull' , 'SparsePush-DensePull' , 'DensePush-SparsePush' ] ) ) #'edge-aware-dynamic-vertex-parallel' not supported with the latest g++ cilk implementation if self . enable_parallel_tuning : manipulator . add_parameter ( EnumParameter ( 'parallelization' , [ 'dynamic-vertex-parallel' ] ) ) else : manipulator . add_parameter ( EnumParameter ( 'parallelization' , [ 'serial' ] ) ) manipulator . add_parameter ( IntegerParameter ( 'numSSG' , 1 , self . args . max_num_segments ) ) if self . enable_NUMA_tuning : manipulator . add_parameter ( EnumParameter ( 'NUMA' , [ 'serial' , 'static-parallel' ] ) ) if self . enable_denseVertexSet_tuning : manipulator . add_parameter ( EnumParameter ( 'DenseVertexSet' , [ 'boolean-array' , 'bitvector' ] ) ) # adding new parameters for PriorityGraph (Ordered GraphIt)  manipulator . add_parameter ( IntegerParameter ( 'delta' , 1 , self . args . max_delta ) ) manipulator . add_parameter ( EnumParameter ( 'bucket_update_strategy' , [ 'eager_priority_update' , 'eager_priority_update_with_merge' , 'lazy_priority_update' ] ) ) return manipulator