import java.util.HashMap; public interface PhotoLocator { /** Produces a map of foreground to background image names which results * in the best matching score. If more than one matching produces the same * best score, then any one of the best options may be returned. * @param matches a hashmap which contains the set of foreground-to-background matchings which comprise the best result. * @return the total score of the chosen matching. */ public double getBestMatch(HashMap matches); }