class DBSCAN {

    public DBSCAN(double eps, int minPts, Distance<? super T> distance) {
        Validate.isTrue(eps > 0, "eps must be greater zero");
        Validate.isTrue(minPts > 0, "minPts must be greater zero");
        Validate.notNull(distance, "distance must not be null");
        this.eps = eps;
        this.minPts = minPts;
        this.distance = distance;
    }

    public  DBSCAN(double eps, int minPts, Distance<? super T> distance);

}