pub fn best_basis( wpt_result: &mut WPTResult, cost_function: CostFunction, ) -> Result<Vec<NodeId>>
Find the best basis using a cost function