@Override
	public boolean equals(Object obj) {
		// TODO Auto-generated method stub
		if(obj instanceof Edge)
		{
			Edge e=(Edge)obj;
			if(e.u==u&&e.v==v&&e.weight==weight)
				return true;
		}
		return false;
	}