src/ResolvExpr/Candidate.hpp
static inline Cost sumCost( const CandidateList & candidates ) {
	Cost total = Cost::zero;
	for ( const CandidateRef & r : candidates ) { total += r->cost; }
	return total;
}
/// Sum the cost of a list of candidates
Sum the cost of a list of candidates
Sum the cost of a list of candidates
static inline Cost sumCost( const CandidateList & candidates ) {
	Cost total = Cost::zero;
	for ( const CandidateRef & r : candidates ) { total += r->cost; }
	return total;
}
static inline Cost sumCost ( const CandidateList & candidates ) { Cost total = Cost :: zero ; for ( const CandidateRef & r : candidates ) { total += r -> cost ; } return total ; }
Sum the cost of a list of candidates
Sum the cost of a list of candidates