MCPcopy Create free account
hub / github.com/FabricMC/Matcher / getRawScore

Method getRawScore

src/main/java/matcher/Matcher.java:745–747  ·  view source on GitHub ↗
(double score, double maxScore)

Source from the content-addressed store, hash-verified

743 }
744
745 private static double getRawScore(double score, double maxScore) {
746 return Math.sqrt(score) * maxScore;
747 }
748
749 public static <T> void sanitizeMatches(Map<T, T> matches) {
750 Set<T> matched = Collections.newSetFromMap(new IdentityHashMap<>(matches.size()));

Callers 3

autoMatchClassesMethod · 0.95
matchMethod · 0.95
autoMatchMethodVarsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected