Class: Rafflesia::FoldSearchRuntimeFeedbackObservation

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb

Constant Summary collapse

HASH_ATTRS =
{
  database: :database,
  estimated_wall_ms: :estimated_wall_ms,
  high_drift_observation_count: :high_drift_observation_count,
  high_drift_ratio_threshold: :high_drift_ratio_threshold,
  high_drift_repeat_threshold: :high_drift_repeat_threshold,
  index_ref: :index_ref,
  manifest_id: :manifest_id,
  manifest_object_id: :manifest_object_id,
  observation_status: :observation_status,
  observed_wall_ms: :observed_wall_ms,
  planner_bias: :planner_bias,
  requires_explicit_full_scan: :requires_explicit_full_scan,
  runtime_drift_ratio: :runtime_drift_ratio,
  runtime_feedback_policy: :runtime_feedback_policy,
  schema_version: :schema_version,
  selected_path: :selected_path,
  selection: :selection,
  target_key: :target_key,
  will_bias_future_plans: :will_bias_future_plans
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ FoldSearchRuntimeFeedbackObservation

Returns a new instance of FoldSearchRuntimeFeedbackObservation.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 51

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @database = hash[:database]
  @estimated_wall_ms = hash[:estimated_wall_ms]
  @high_drift_observation_count = hash[:high_drift_observation_count]
  @high_drift_ratio_threshold = hash[:high_drift_ratio_threshold]
  @high_drift_repeat_threshold = hash[:high_drift_repeat_threshold]
  @index_ref = hash[:index_ref]
  @manifest_id = hash[:manifest_id]
  @manifest_object_id = hash[:manifest_object_id]
  @observation_status = hash[:observation_status]
  @observed_wall_ms = hash[:observed_wall_ms]
  @planner_bias = hash[:planner_bias]
  @requires_explicit_full_scan = hash[:requires_explicit_full_scan]
  @runtime_drift_ratio = hash[:runtime_drift_ratio]
  @runtime_feedback_policy = hash[:runtime_feedback_policy]
  @schema_version = hash[:schema_version]
  @selected_path = hash[:selected_path]
  @selection = hash[:selection]
  @target_key = hash[:target_key]
  @will_bias_future_plans = hash[:will_bias_future_plans]
end

Instance Attribute Details

#databaseObject

Returns the value of attribute database.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def database
  @database
end

#estimated_wall_msObject

Returns the value of attribute estimated_wall_ms.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def estimated_wall_ms
  @estimated_wall_ms
end

#high_drift_observation_countObject

Returns the value of attribute high_drift_observation_count.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def high_drift_observation_count
  @high_drift_observation_count
end

#high_drift_ratio_thresholdObject

Returns the value of attribute high_drift_ratio_threshold.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def high_drift_ratio_threshold
  @high_drift_ratio_threshold
end

#high_drift_repeat_thresholdObject

Returns the value of attribute high_drift_repeat_threshold.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def high_drift_repeat_threshold
  @high_drift_repeat_threshold
end

#index_refObject

Returns the value of attribute index_ref.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def index_ref
  @index_ref
end

#manifest_idObject

Returns the value of attribute manifest_id.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def manifest_id
  @manifest_id
end

#manifest_object_idObject

Returns the value of attribute manifest_object_id.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def manifest_object_id
  @manifest_object_id
end

#observation_statusObject

Returns the value of attribute observation_status.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def observation_status
  @observation_status
end

#observed_wall_msObject

Returns the value of attribute observed_wall_ms.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def observed_wall_ms
  @observed_wall_ms
end

#planner_biasObject

Returns the value of attribute planner_bias.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def planner_bias
  @planner_bias
end

#requires_explicit_full_scanObject

Returns the value of attribute requires_explicit_full_scan.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def requires_explicit_full_scan
  @requires_explicit_full_scan
end

#runtime_drift_ratioObject

Returns the value of attribute runtime_drift_ratio.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def runtime_drift_ratio
  @runtime_drift_ratio
end

#runtime_feedback_policyObject

Returns the value of attribute runtime_feedback_policy.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def runtime_feedback_policy
  @runtime_feedback_policy
end

#schema_versionObject

Returns the value of attribute schema_version.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def schema_version
  @schema_version
end

#selected_pathObject

Returns the value of attribute selected_path.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def selected_path
  @selected_path
end

#selectionObject

Returns the value of attribute selection.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def selection
  @selection
end

#target_keyObject

Returns the value of attribute target_key.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def target_key
  @target_key
end

#will_bias_future_plansObject

Returns the value of attribute will_bias_future_plans.



30
31
32
# File 'lib/rafflesia/proteins/fold_search_runtime_feedback_observation.rb', line 30

def will_bias_future_plans
  @will_bias_future_plans
end