The set of element above the threshold

Property definitions

nitc $ Metric :: above_threshold
	# The set of element above the threshold
	fun above_threshold: Set[ELM] is abstract
src/metrics/metrics_base.nit:226,2--227,42

nitc $ IntMetric :: above_threshold
	redef fun above_threshold do
		var above = new HashSet[ELM]
		var threshold = threshold
		for element, value in values do
			if value.to_f > threshold then above.add(element)
		end
		return above
	end
src/metrics/metrics_base.nit:268,2--275,4

nitc $ FloatMetric :: above_threshold
	redef fun above_threshold do
		var above = new HashSet[ELM]
		var threshold = threshold
		for element, value in values do
			if value > threshold then above.add(element)
		end
		return above
	end
src/metrics/metrics_base.nit:352,2--359,4