| Issue 3: | Better abstraction of genetic algorithm | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Currently the genetic algorithm (in the Environment class) has too many dependencies on the TravelingSalesman class, so that it can not be used to solve any other problems. It would be desirable to abstract it so that it can be used as a generic problem solver. For example, there could be an interface for the fitness function that the TravelingSalesman class could implement. |