Skip to content

Commit

Permalink
Update: babbling separation for achieve/curious and explore
Browse files Browse the repository at this point in the history
  • Loading branch information
patham9 committed Jan 4, 2024
1 parent 4c1b6af commit 1e5e584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nace.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def NACE_Cycle(Time, FocusSet, RuleEvidence, loc, observed_world, rulesin, negru
debuginput = input()
print("\033[1;1H\033[2J")
exploit_babble = random.random() > 1.0 #babbling when wanting to achieve something or curious about something, and babbling when exploring:
explore_babble = random.random() > 0.9 if "DisableOpSymmetryAssumption" in sys.argv else 1.0 #since it might not know yet about all ops, exploring then can be limited
explore_babble = random.random() > (0.9 if "DisableOpSymmetryAssumption" in sys.argv else 1.0) #since it might not know yet about all ops, exploring then can be limited
plan = []
if airis_score >= 1.0 or exploit_babble or len(favoured_actions) == 0:
if not exploit_babble and not explore_babble and oldest_age > 0.0 and airis_score == 1.0 and len(favoured_actions_for_revisit) != 0:
Expand Down

0 comments on commit 1e5e584

Please sign in to comment.