Class: ServerScripts::Experiment
- Inherits:
-
Object
- Object
- ServerScripts::Experiment
- Defined in:
- lib/server_scripts/experiment.rb
Overview
Class that represents an experiment that needs to be conducted. Accepts various parameters that need to be tested and a BatchJob object which it customize depending on the test parameters.
Instance Attribute Summary collapse
-
#batch_job ⇒ Object
Returns the value of attribute batch_job.
-
#executable ⇒ Object
Returns the value of attribute executable.
-
#exp_params ⇒ Object
Returns the value of attribute exp_params.
-
#job_params ⇒ Object
Returns the value of attribute job_params.
Instance Method Summary collapse
-
#initialize(exp_name) ⇒ Experiment
constructor
A new instance of Experiment.
Constructor Details
#initialize(exp_name) ⇒ Experiment
Returns a new instance of Experiment.
11 12 13 |
# File 'lib/server_scripts/experiment.rb', line 11 def initialize exp_name @exp_name = exp_name end |
Instance Attribute Details
#batch_job ⇒ Object
Returns the value of attribute batch_job.
6 7 8 |
# File 'lib/server_scripts/experiment.rb', line 6 def batch_job @batch_job end |
#executable ⇒ Object
Returns the value of attribute executable.
9 10 11 |
# File 'lib/server_scripts/experiment.rb', line 9 def executable @executable end |
#exp_params ⇒ Object
Returns the value of attribute exp_params.
7 8 9 |
# File 'lib/server_scripts/experiment.rb', line 7 def exp_params @exp_params end |
#job_params ⇒ Object
Returns the value of attribute job_params.
8 9 10 |
# File 'lib/server_scripts/experiment.rb', line 8 def job_params @job_params end |