Class: Resyma::Core::Tuple4

Inherits:
Object
  • Object
show all
Defined in:
lib/resyma/core/algorithm/tuple.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_toObject

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

#pObject

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

#qObject

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