pub fn solve<G, B, R>(
graph: &G,
start: usize,
goal: usize,
config: &Config,
budget: &mut B,
rng: &mut R,
) -> Option<(Vec<usize>, f64)>Expand description
Searches a short path with a generational GA (elitism two, tournament three, shared-vertex
crossover, reroute mutation, loop removal); returns the best path and its cost, or None
if no evaluated path reached the goal.