MCPcopy Create free account
hub / github.com/antlr/codebuff / min

Method min

src/org/antlr/codebuff/misc/BuffUtils.java:134–138  ·  view source on GitHub ↗
(List<Double> data)

Source from the content-addressed store, hash-verified

132 }
133
134 public static double min(List<Double> data) {
135 Collections.sort(data);
136 int n = data.size();
137 return data.get(0);
138 }
139
140 public static double mean(Collection<Double> data) {
141 double sum = 0.0;

Callers 7

validateDocumentsMethod · 0.95
getVotesBagMethod · 0.45
getPredictionAnalysisMethod · 0.45
kNNMethod · 0.45
levenshteinDistanceMethod · 0.45
getMedianErrorRatesMethod · 0.45
getRandomDocumentsMethod · 0.45

Calls 3

sortMethod · 0.80
sizeMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected