class MissingTrackers implements Warning {

    @Override
    public boolean active() {
        double completion = 0;
        Set<Integer> ids = new HashSet<>();

        for (SegmentStatus info : trackerInfos) {
            int segmentId = info.getSegmentId();
            if (!ids.contains(segmentId))completion += 1d/info.getOnePartOf();
            ids.add(segmentId);
        }

        return completion < 1;
    }

    public  MissingTrackers(Iterable<SegmentStatus> trackerInfos);

}