Sephfox commited on
Commit
b0028e8
1 Parent(s): e905375

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ class HiveMind:
35
  self.pheromone_importance = {'food': 0.5, 'danger': 0.3, 'exploration': 0.2}
36
 
37
  def update_collective_memory(self, ant_memories):
38
- for ant_memory in ant_memories:
39
  for position, info in ant_memory:
40
  if position not in self.collective_memory:
41
  self.collective_memory[position] = info
 
35
  self.pheromone_importance = {'food': 0.5, 'danger': 0.3, 'exploration': 0.2}
36
 
37
  def update_collective_memory(self, ant_memories):
38
+ for ant_memory in ant_memories:
39
  for position, info in ant_memory:
40
  if position not in self.collective_memory:
41
  self.collective_memory[position] = info