public boolean matchWith(State other, int maxN)
	{
		for (Predicate p : other.predList)
		{
			if(p.getName().equals("USED-RAILWAYS")){
				if(occupied == maxN)
					return false;
			} else if (!isPredicateInState(p)){
				return false;
			}
		}
		return true;
	}