code: private static Integer hashSum(Set<Interaction> set)
  	{
  		int x = 0;
  		for (Interaction inter : set)
  		{
  			x += inter.hashCode();
  		}
  		return x;
  	}
docs: Creates a hash code for a set of interactions.
  @param set interactions
  @return sum of hashes