Class: Rafflesia::FoldSearchPolicyData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldSearchPolicyData
- Defined in:
- lib/rafflesia/proteins/fold_search_policy_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ candidate_layer: :candidate_layer, corroboration_policy: :corroboration_policy, exhaustive_search_role: :exhaustive_search_role, fallback_channels: :fallback_channels, is_calibration_only: :is_calibration_only, materializes_foldseek_database: :materializes_foldseek_database, planner_bias: :planner_bias, primary_channel_id: :primary_channel_id, reasons: :reasons, requires_explicit_full_scan: :requires_explicit_full_scan, retrieval_policy: :retrieval_policy, runtime_drift_observation_count: :runtime_drift_observation_count, runtime_drift_ratio: :runtime_drift_ratio, runtime_feedback_policy: :runtime_feedback_policy, selected_path: :selected_path, uses_object_native_candidates: :uses_object_native_candidates, uses_routing: :uses_routing, verifier_layer: :verifier_layer, verifier_mode: :verifier_mode, warnings: :warnings }.freeze
Instance Attribute Summary collapse
-
#candidate_layer ⇒ Object
Returns the value of attribute candidate_layer.
-
#corroboration_policy ⇒ Object
Returns the value of attribute corroboration_policy.
-
#exhaustive_search_role ⇒ Object
Returns the value of attribute exhaustive_search_role.
-
#fallback_channels ⇒ Object
Returns the value of attribute fallback_channels.
-
#is_calibration_only ⇒ Object
Returns the value of attribute is_calibration_only.
-
#materializes_foldseek_database ⇒ Object
Returns the value of attribute materializes_foldseek_database.
-
#planner_bias ⇒ Object
Returns the value of attribute planner_bias.
-
#primary_channel_id ⇒ Object
Returns the value of attribute primary_channel_id.
-
#reasons ⇒ Object
Returns the value of attribute reasons.
-
#requires_explicit_full_scan ⇒ Object
Returns the value of attribute requires_explicit_full_scan.
-
#retrieval_policy ⇒ Object
Returns the value of attribute retrieval_policy.
-
#runtime_drift_observation_count ⇒ Object
Returns the value of attribute runtime_drift_observation_count.
-
#runtime_drift_ratio ⇒ Object
Returns the value of attribute runtime_drift_ratio.
-
#runtime_feedback_policy ⇒ Object
Returns the value of attribute runtime_feedback_policy.
-
#selected_path ⇒ Object
Returns the value of attribute selected_path.
-
#uses_object_native_candidates ⇒ Object
Returns the value of attribute uses_object_native_candidates.
-
#uses_routing ⇒ Object
Returns the value of attribute uses_routing.
-
#verifier_layer ⇒ Object
Returns the value of attribute verifier_layer.
-
#verifier_mode ⇒ Object
Returns the value of attribute verifier_mode.
-
#warnings ⇒ Object
Returns the value of attribute warnings.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldSearchPolicyData
constructor
A new instance of FoldSearchPolicyData.
Constructor Details
#initialize(json) ⇒ FoldSearchPolicyData
Returns a new instance of FoldSearchPolicyData.
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 53 def initialize(json) super() hash = self.class.normalize(json) @candidate_layer = hash[:candidate_layer] @corroboration_policy = hash[:corroboration_policy] @exhaustive_search_role = hash[:exhaustive_search_role] @fallback_channels = (hash[:fallback_channels] || []) @is_calibration_only = hash[:is_calibration_only] @materializes_foldseek_database = hash[:materializes_foldseek_database] @planner_bias = hash[:planner_bias] @primary_channel_id = hash[:primary_channel_id] @reasons = (hash[:reasons] || []) @requires_explicit_full_scan = hash[:requires_explicit_full_scan] @retrieval_policy = hash[:retrieval_policy] @runtime_drift_observation_count = hash[:runtime_drift_observation_count] @runtime_drift_ratio = hash[:runtime_drift_ratio] @runtime_feedback_policy = hash[:runtime_feedback_policy] @selected_path = hash[:selected_path] @uses_object_native_candidates = hash[:uses_object_native_candidates] @uses_routing = hash[:uses_routing] @verifier_layer = hash[:verifier_layer] @verifier_mode = hash[:verifier_mode] @warnings = (hash[:warnings] || []) end |
Instance Attribute Details
#candidate_layer ⇒ Object
Returns the value of attribute candidate_layer.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def candidate_layer @candidate_layer end |
#corroboration_policy ⇒ Object
Returns the value of attribute corroboration_policy.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def corroboration_policy @corroboration_policy end |
#exhaustive_search_role ⇒ Object
Returns the value of attribute exhaustive_search_role.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def exhaustive_search_role @exhaustive_search_role end |
#fallback_channels ⇒ Object
Returns the value of attribute fallback_channels.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def fallback_channels @fallback_channels end |
#is_calibration_only ⇒ Object
Returns the value of attribute is_calibration_only.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def is_calibration_only @is_calibration_only end |
#materializes_foldseek_database ⇒ Object
Returns the value of attribute materializes_foldseek_database.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def materializes_foldseek_database @materializes_foldseek_database end |
#planner_bias ⇒ Object
Returns the value of attribute planner_bias.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def planner_bias @planner_bias end |
#primary_channel_id ⇒ Object
Returns the value of attribute primary_channel_id.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def primary_channel_id @primary_channel_id end |
#reasons ⇒ Object
Returns the value of attribute reasons.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def reasons @reasons end |
#requires_explicit_full_scan ⇒ Object
Returns the value of attribute requires_explicit_full_scan.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def requires_explicit_full_scan @requires_explicit_full_scan end |
#retrieval_policy ⇒ Object
Returns the value of attribute retrieval_policy.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def retrieval_policy @retrieval_policy end |
#runtime_drift_observation_count ⇒ Object
Returns the value of attribute runtime_drift_observation_count.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def runtime_drift_observation_count @runtime_drift_observation_count end |
#runtime_drift_ratio ⇒ Object
Returns the value of attribute runtime_drift_ratio.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def runtime_drift_ratio @runtime_drift_ratio end |
#runtime_feedback_policy ⇒ Object
Returns the value of attribute runtime_feedback_policy.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def runtime_feedback_policy @runtime_feedback_policy end |
#selected_path ⇒ Object
Returns the value of attribute selected_path.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def selected_path @selected_path end |
#uses_object_native_candidates ⇒ Object
Returns the value of attribute uses_object_native_candidates.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def uses_object_native_candidates @uses_object_native_candidates end |
#uses_routing ⇒ Object
Returns the value of attribute uses_routing.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def uses_routing @uses_routing end |
#verifier_layer ⇒ Object
Returns the value of attribute verifier_layer.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def verifier_layer @verifier_layer end |
#verifier_mode ⇒ Object
Returns the value of attribute verifier_mode.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def verifier_mode @verifier_mode end |
#warnings ⇒ Object
Returns the value of attribute warnings.
31 32 33 |
# File 'lib/rafflesia/proteins/fold_search_policy_data.rb', line 31 def warnings @warnings end |