Class: PyaExtractor
- Inherits:
-
Object
show all
- Includes:
- Extractor
- Defined in:
- lib/batch_experiment/sample_extractors.rb
Instance Method Summary
collapse
Methods included from Extractor
#extract, get_field, get_hfield
Instance Method Details
41
42
43
44
45
46
47
|
# File 'lib/batch_experiment/sample_extractors.rb', line 41
def (lines)
values = ['Total Time ', 'ext_time', 'ext_mem'].map do | label |
.get_field(lines, label)
end
opt_key = '#The optimal value for the given capacity'
values << .get_hfield(lines, opt_key)
end
|
#names ⇒ Object
37
38
39
|
# File 'lib/batch_experiment/sample_extractors.rb', line 37
def names
['internal time', 'external time', 'external memory', 'opt']
end
|