class GraphMatching::Algorithm::MatchingAlgorithm
All matching algorithms operate on a graph, hence the common constructor.
Attributes
g[R]
Public Class Methods
new(graph)
click to toggle source
# File lib/graph_matching/algorithm/matching_algorithm.rb, line 12 def initialize(graph) @g = graph end
Public Instance Methods
assert(obj)
click to toggle source
# File lib/graph_matching/algorithm/matching_algorithm.rb, line 16 def assert(obj) Assertion.new(obj) end