Class: Dither::Cpp::Graph::Edge

Inherits:
Struct
  • Object
show all
Defined in:
lib/dither/chinese_postman_problem.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dst_vertexObject

Returns the value of attribute dst_vertex

Returns:

  • (Object)

    the current value of dst_vertex



11
12
13
# File 'lib/dither/chinese_postman_problem.rb', line 11

def dst_vertex
  @dst_vertex
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/dither/chinese_postman_problem.rb', line 11

def name
  @name
end

#src_vertexObject

Returns the value of attribute src_vertex

Returns:

  • (Object)

    the current value of src_vertex



11
12
13
# File 'lib/dither/chinese_postman_problem.rb', line 11

def src_vertex
  @src_vertex
end