human
When should I use a heuristic search algorithm and when should I use a genetic algorithm?
assistant
Heuristic search algorithms are good for finding approximate solutions to problems. Genetic algorithms are good for finding optimal solutions to problems.