Class: RoadForest::PathMatcher::ForwardEdge
- Defined in:
- lib/roadforest/path-matcher.rb
Instance Attribute Summary
Attributes inherited from Edge
#accepting_count, #max_multi, #max_repeat, #min_multi, #min_repeat, #predicate, #rejecting_count
Attributes inherited from MatchStep
#after, #before, #children, #exact_value, #graph, #graph_term, #order, #parent, #pattern, #pattern_step, #repeats, #satified, #stem, #type
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Edge
#accepting?, #available_count, #build_children, edge_query_pattern, #excluded?, find_child_edges, #from, #notify_resolved, #rejecting?, #reset, #resolved?, #satisfied?, #step_count, #to_s
Methods inherited from MatchStep
#immediate_match, #initialize, #matched_statements, #open, #pretty_print_instance_variables, #reset
Constructor Details
This class inherits a constructor from RoadForest::PathMatcher::MatchStep
Class Method Details
Instance Method Details
#graph_node(statement) ⇒ Object
242 243 244 |
# File 'lib/roadforest/path-matcher.rb', line 242 def graph_node(statement) statement.object end |
#pattern_hash ⇒ Object
238 239 240 |
# File 'lib/roadforest/path-matcher.rb', line 238 def pattern_hash { :subject => graph_term, :predicate => predicate, :object => exact_value} end |