package DataStructure; class ScoreElement { public int occurrence; // how often was this coordinate chosen based on // Signalstrength public int ratio_hit; // how often was this coordinate chosen based on // SignalRatio public GPScoordinate gps; private double score; public ScoreElement(GPScoordinate reference) { gps = reference; } public void add(GPScoordinate gps) { if (this.gps.equals(gps)) { score++; } } }