Class: Resyma::Core::Tuple4
- Inherits:
-
Object
- Object
- Resyma::Core::Tuple4
- Defined in:
- lib/resyma/core/algorithm/tuple.rb
Instance Attribute Summary collapse
-
#belongs_to ⇒ Object
Returns the value of attribute belongs_to.
-
#p ⇒ Object
Returns the value of attribute p.
-
#p_ ⇒ Object
Returns the value of attribute p_.
-
#q ⇒ Object
Returns the value of attribute q.
-
#q_ ⇒ Object
Returns the value of attribute q_.
Instance Method Summary collapse
-
#initialize(p, q, p_, q_, belongs_to: 0) ⇒ Tuple4
constructor
A new instance of Tuple4.
Constructor Details
#initialize(p, q, p_, q_, belongs_to: 0) ⇒ Tuple4
Returns a new instance of Tuple4.
4 5 6 7 8 9 10 |
# File 'lib/resyma/core/algorithm/tuple.rb', line 4 def initialize(p, q, p_, q_, belongs_to: 0) @p = p @q = q @p_ = p_ @q_ = q_ @belongs_to = belongs_to end |
Instance Attribute Details
#belongs_to ⇒ Object
Returns the value of attribute belongs_to.
12 13 14 |
# File 'lib/resyma/core/algorithm/tuple.rb', line 12 def belongs_to @belongs_to end |
#p ⇒ Object
Returns the value of attribute p.
12 13 14 |
# File 'lib/resyma/core/algorithm/tuple.rb', line 12 def p @p end |
#p_ ⇒ Object
Returns the value of attribute p_.
12 13 14 |
# File 'lib/resyma/core/algorithm/tuple.rb', line 12 def p_ @p_ end |
#q ⇒ Object
Returns the value of attribute q.
12 13 14 |
# File 'lib/resyma/core/algorithm/tuple.rb', line 12 def q @q end |
#q_ ⇒ Object
Returns the value of attribute q_.
12 13 14 |
# File 'lib/resyma/core/algorithm/tuple.rb', line 12 def q_ @q_ end |