class CandidateLine {

    @Override
    public final String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("line: ").append(line.getID());
        sb.append(" rating: ").append(rating);
        sb.append(" projectionAlongLine: ").append(projectionAlongLine).append("m");
        return sb.toString();
    }

    public  CandidateLine(final Line l, final int r, final int projection);
    public  CandidateLine(final Line l, final int r);
    private  CandidateLine();

}