class LatencyConstraint implements Constraint {

    @Override
    public double cost(Link link, ResourceContext context) {
        // explicitly call a method not depending on LinkResourceService
        return cost(link);
    }

    public  LatencyConstraint(Duration latency);
    private  LatencyConstraint();

}