| Conditions | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | ''' |
||
| 12 | def __init__(self): |
||
| 13 | |||
| 14 | ## used for pheramone evaporation |
||
| 15 | self.ro = 0.9 |
||
| 16 | |||
| 17 | ## initial value for pheramones |
||
| 18 | self.pheramone_init = 0.1 |
||
| 19 | |||
| 20 | ## amount of iterations that is used for solving |
||
| 21 | self.iterations = 50 |
||
| 22 | |||
| 23 | ## amount of ants that is used on each iteration |
||
| 24 | self.count_ants = 20 |
||
| 25 | |||
| 43 |