<BUG>throws DistanceCalculationException {Set<Event> events = new HashSet<Event>(unknownEventMap.uniqueEvents());events.addAll(knownEventMap.uniqueEvents());</BUG><CONTEXT>public boolean showInGUI() {return true;}@Overridepublic double distance(EventMap unknownEventMap, EventMap knownEventMap)<extra_id_0>double distance = 0.0, sum = 0.0;for(Event event : events){</CONTEXT>
Set<Event> events = Sets.union(unknownEventMap.uniqueEvents(), knownEventMap.uniqueEvents());