Template Function sequant::opt::detail::pareto_insert

Function Documentation

template<typename FP>
void sequant::opt::detail::pareto_insert(container::vector<FP> &f, FP p)

Insert a (peak, flops) trade-off into a Pareto frontier with domination pruning: skip the new point if an existing one is no worse in both objectives; otherwise drop every existing point the new one dominates and append it.

Template Parameters:

FP – any struct with peak and flops members.