package weighted_hierarchical;

import org.apache.commons.math3.ml.clustering.Clusterable;

public class WeightedPoint implements Clusterable {

    private long weight;
    private double[] coords;

    public void setWeight(long weight) {
        this.weight = weight;
    }

    public WeightedPoint(long weight, double[] coords) {
        super();
        this.weight = weight;
        this.coords = coords;
    }

    @Override
    public double[] getPoint() {
        return coords;
    }

    public long getWeight() {
        return weight;
    }

}
