Class: Wallace::Operators::CycleCrossoverOperator::HashPair

Inherits:
Struct
  • Object
show all
Defined in:
lib/operators/cycle_crossover_operation.rb

Instance Attribute Summary collapse

Instance Attribute Details

#i2Object

Returns the value of attribute i2

Returns:

  • (Object)

    the current value of i2



12
13
14
# File 'lib/operators/cycle_crossover_operation.rb', line 12

def i2
  @i2
end

#v1Object

Returns the value of attribute v1

Returns:

  • (Object)

    the current value of v1



12
13
14
# File 'lib/operators/cycle_crossover_operation.rb', line 12

def v1
  @v1
end

#v2Object

Returns the value of attribute v2

Returns:

  • (Object)

    the current value of v2



12
13
14
# File 'lib/operators/cycle_crossover_operation.rb', line 12

def v2
  @v2
end