class RoadForest::PathMatcher::ForwardEdge

Public Class Methods

path_direction() click to toggle source
# File lib/roadforest/path-matcher.rb, line 234
def self.path_direction
  Graph::Path.forward
end

Public Instance Methods

graph_node(statement) click to toggle source
# File lib/roadforest/path-matcher.rb, line 242
def graph_node(statement)
  statement.object
end
pattern_hash() click to toggle source
# File lib/roadforest/path-matcher.rb, line 238
def pattern_hash
  { :subject => graph_term, :predicate => predicate, :object => exact_value}
end