@Override
	public int compareTo(Object e) {
		if(this.weight > ((Edge)e).weight)
			return 1;
		if(this.weight < ((Edge)e).weight)
			return -1;
		if(this.weight == ((Edge)e).weight)
			return 0;
		return 0;
	}