Skip to content

Commit

Permalink
added more flexible logic functionality to check neighbors of neighbo…
Browse files Browse the repository at this point in the history
…rs in edge clause
  • Loading branch information
dyumanaditya committed Mar 9, 2023
1 parent 4190fa8 commit b93a8ec
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 69 deletions.
2 changes: 1 addition & 1 deletion pyreason/pyreason.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def _reason(timesteps, convergence_threshold, convergence_bound_threshold):
__edge_facts.extend(__non_fluent_graph_facts_edge)

# Setup logical program
program = Program(__graph, timesteps, __node_facts, __edge_facts, __rules, __ipl, settings.reverse_digraph, settings.atom_trace, settings.save_graph_attributes_to_trace)
program = Program(__graph, timesteps, __node_facts, __edge_facts, __rules, __ipl, settings.reverse_digraph, settings.atom_trace, settings.save_graph_attributes_to_trace, settings.canonical)
program.available_labels_node = __node_labels
program.available_labels_edge = __edge_labels
program.specific_node_labels = __specific_node_labels
Expand Down
Loading

0 comments on commit b93a8ec

Please sign in to comment.