Skip to content

Commit

Permalink
Update: code part needed for now, will get rid of it after more analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
patham9 committed Jan 5, 2024
1 parent 37b0554 commit 8b92fad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hypothesis.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ def _Variants(rule): #location symmetry (knowledge about World_Movement operatio
action_values_precons = rule[0]
conditions = action_values_precons[2:]
action = action_values_precons[0]
for (y,x,v) in conditions: #unnecessary
if (action == left or action == right) and y != 0:
return []
if (action == up or action == down) and x != 0:
return []
rules = [rule]
if DisableOpSymmetryAssumption:
return rules
Expand Down

0 comments on commit 8b92fad

Please sign in to comment.