class RoadForest::PathMatcher::ReverseEdge
Public Class Methods
path_direction()
click to toggle source
# File lib/roadforest/path-matcher.rb, line 248 def self.path_direction Graph::Path.reverse end
Public Instance Methods
graph_node(statement)
click to toggle source
# File lib/roadforest/path-matcher.rb, line 256 def graph_node(statement) statement.subject end
pattern_hash()
click to toggle source
# File lib/roadforest/path-matcher.rb, line 252 def pattern_hash { :subject => exact_value, :predicate => predicate, :object => graph_term } end