PathCostFn

Trait PathCostFn 

Source
pub trait PathCostFn {
    // Required method
    fn edge_cost(
        &self,
        overhead: &ReductionOverhead,
        current_size: &ProblemSize,
    ) -> f64;
}
Expand description

User-defined cost function for path optimization.

Required Methods§

Source

fn edge_cost( &self, overhead: &ReductionOverhead, current_size: &ProblemSize, ) -> f64

Compute cost of taking an edge given current problem size.

Implementors§