@Override
    public LinkRelevance[] classify(Page page) throws LinkClassifierException {
        List<LinkRelevance> linkRelevances = new ArrayList<>();
        URL[] links = page.getParsedData().getLinks();
        if (links != null && links.length > 0) {
            for (URL link : links) {
                LinkRelevance linkRelevance = createRandomLinkRelevance(link);
                linkRelevances.add(linkRelevance);
            }
        }
        return linkRelevances.toArray(new LinkRelevance[linkRelevances.size()]);
    }
Implements a random crawling policy in which each link gets a random relevance score.
ache/src/main/java/achecrawler/link/classifier/LinkClassifierRandom.java