| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															11
														 | 
														
															             pheromones_by_category = raw_data[category] 
														 | 
														
															11
														 | 
														
															             pheromones_by_category = raw_data[category] 
														 | 
													
												
													
														| 
															12
														 | 
														
															             for type in pheromones_by_category: 
														 | 
														
															12
														 | 
														
															             for type in pheromones_by_category: 
														 | 
													
												
													
														| 
															13
														 | 
														
															                 distance, intensity = pheromones_by_category[type] 
														 | 
														
															13
														 | 
														
															                 distance, intensity = pheromones_by_category[type] 
														 | 
													
												
													
														| 
															14
														 | 
														
															-                flavour.update({category: {type: Pheromone(category, type, distance, intensity)}}) 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															14
														 | 
														
															+                if category not in flavour: 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															15
														 | 
														
															+                    flavour[category] = {} 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															16
														 | 
														
															+                flavour[category][type] = Pheromone(category, type, distance, intensity) 
														 | 
													
												
													
														| 
															15
														 | 
														
															         return cls(flavour) 
														 | 
														
															17
														 | 
														
															         return cls(flavour) 
														 | 
													
												
													
														| 
															16
														 | 
														
															  
														 | 
														
															18
														 | 
														
															  
														 | 
													
												
													
														| 
															17
														 | 
														
															     def get_raw_data(self): 
														 | 
														
															19
														 | 
														
															     def get_raw_data(self): 
														 | 
													
												
											
												
													
														| 
															
														 | 
														
															 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															20
														 | 
														
															             pheromones_by_category = self._flavour[category] 
														 | 
														
															22
														 | 
														
															             pheromones_by_category = self._flavour[category] 
														 | 
													
												
													
														| 
															21
														 | 
														
															             for type in pheromones_by_category: 
														 | 
														
															23
														 | 
														
															             for type in pheromones_by_category: 
														 | 
													
												
													
														| 
															22
														 | 
														
															                 pheromone = pheromones_by_category[type] 
														 | 
														
															24
														 | 
														
															                 pheromone = pheromones_by_category[type] 
														 | 
													
												
													
														| 
															23
														 | 
														
															-                raw_data.update({category: {type: (pheromone.get_distance(), pheromone.get_intensity())}}) 
														 | 
														
															
														 | 
														
															 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															25
														 | 
														
															+                if category not in raw_data: 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															26
														 | 
														
															+                    raw_data[category] = {} 
														 | 
													
												
													
														| 
															
														 | 
														
															 
														 | 
														
															27
														 | 
														
															+                raw_data[category][type] = (pheromone.get_distance(), pheromone.get_intensity()) 
														 | 
													
												
													
														| 
															24
														 | 
														
															         return raw_data 
														 | 
														
															28
														 | 
														
															         return raw_data 
														 | 
													
												
													
														| 
															25
														 | 
														
															  
														 | 
														
															29
														 | 
														
															  
														 | 
													
												
													
														| 
															26
														 | 
														
															     def __init__(self, flavour): 
														 | 
														
															30
														 | 
														
															     def __init__(self, flavour): 
														 |