@Override
    public boolean equals(Object o) {
        if (o.equals(null) || o.getClass() != this.getClass())
            return false;
        if(this.getDest() == ((Edge) o).getDest() && this.getSource() == ((Edge) o).getSource())
            return true;
        return false;
    }