Class: BOAST::Optimizer
- Inherits:
-
Object
- Object
- BOAST::Optimizer
- Includes:
- PrivateStateAccessor
- Defined in:
- lib/BOAST/Optimization/Optimization.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#experiments ⇒ Object
readonly
Returns the value of attribute experiments.
-
#log ⇒ Object
readonly
Returns the value of attribute log.
-
#search_space ⇒ Object
readonly
Returns the value of attribute search_space.
Instance Method Summary collapse
-
#initialize(search_space, options = {}) ⇒ Optimizer
constructor
A new instance of Optimizer.
Methods included from PrivateStateAccessor
#address_size, #address_size=, #annotate, #annotate=, #annotate?, #annotate_indepth_list, #annotate_indepth_list=, #annotate_level, #annotate_level=, #annotate_list, #annotate_list=, #architecture, #architecture=, #array_start, #array_start=, #chain_code, #chain_code=, #chain_code?, #debug, #debug=, #debug?, #debug_source, #debug_source=, #debug_source?, #decl_module, #decl_module=, #decl_module?, #default_align, #default_align=, #default_int_signed, #default_int_signed=, #default_int_signed?, #default_int_size, #default_int_size=, #default_real_size, #default_real_size=, #disable_openmp, #disable_openmp=, #disable_openmp?, #ffi, #ffi=, #ffi?, #fortran_line_length, #fortran_line_length=, #get_address_size, #get_annotate, #get_annotate_indepth_list, #get_annotate_level, #get_annotate_list, #get_architecture, #get_array_start, #get_chain_code, #get_debug, #get_debug_source, #get_decl_module, #get_default_align, #get_default_int_signed, #get_default_int_size, #get_default_real_size, #get_disable_openmp, #get_ffi, #get_fortran_line_length, #get_indent_increment, #get_indent_level, #get_keep_temp, #get_lang, #get_model, #get_optimizer_log, #get_optimizer_log_file, #get_output, #get_replace_constants, #get_use_vla, #get_verbose, #indent_increment, #indent_increment=, #indent_level, #indent_level=, #keep_temp, #keep_temp=, #keep_temp?, #lang, #lang=, #model, #model=, #optimizer_log, #optimizer_log=, #optimizer_log?, #optimizer_log_file, #optimizer_log_file=, #output, #output=, #replace_constants, #replace_constants=, #replace_constants?, #set_address_size, #set_annotate, #set_annotate_indepth_list, #set_annotate_level, #set_annotate_list, #set_architecture, #set_array_start, #set_chain_code, #set_debug, #set_debug_source, #set_decl_module, #set_default_align, #set_default_int_signed, #set_default_int_size, #set_default_real_size, #set_disable_openmp, #set_ffi, #set_fortran_line_length, #set_indent_increment, #set_indent_level, #set_keep_temp, #set_lang, #set_model, #set_optimizer_log, #set_optimizer_log_file, #set_output, #set_replace_constants, #set_use_vla, #set_verbose, #use_vla, #use_vla=, #use_vla?, #verbose, #verbose=, #verbose?
Constructor Details
#initialize(search_space, options = {}) ⇒ Optimizer
51 52 53 54 55 |
# File 'lib/BOAST/Optimization/Optimization.rb', line 51 def initialize(search_space, = {} ) @search_space = search_space @experiments = 0 @log = {} end |
Instance Attribute Details
#experiments ⇒ Object (readonly)
Returns the value of attribute experiments.
47 48 49 |
# File 'lib/BOAST/Optimization/Optimization.rb', line 47 def experiments @experiments end |
#log ⇒ Object (readonly)
Returns the value of attribute log.
49 50 51 |
# File 'lib/BOAST/Optimization/Optimization.rb', line 49 def log @log end |
#search_space ⇒ Object (readonly)
Returns the value of attribute search_space.
48 49 50 |
# File 'lib/BOAST/Optimization/Optimization.rb', line 48 def search_space @search_space end |