Class: GraphMatching::Algorithm::MCMGeneral::LFlag

Inherits:
Object
  • Object
show all
Defined in:
lib/graph_matching/algorithm/mcm_general.rb

Overview

An LFlag represents a flag on an edge during Gabow’s ‘l` function.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(edge) ⇒ LFlag

Returns a new instance of LFlag.



15
16
17
# File 'lib/graph_matching/algorithm/mcm_general.rb', line 15

def initialize(edge)
  @edge = edge
end

Instance Attribute Details

#edgeObject (readonly)

Returns the value of attribute edge.



14
15
16
# File 'lib/graph_matching/algorithm/mcm_general.rb', line 14

def edge
  @edge
end