def get_overlap_between_intervals(a, b):
	"""
	Finds the overlap between two intervals end points inclusive.
	#Makes sure not to report overlap beyond either interval length.
	#	a=[10,20]; b=[10,20] --> f(a,b)=10  !(not 11)
	#	a=[10,20]; b=[20,30] --> f(a,b)=1
		a=[10,20]; b=[15,30] --> f(a,b)=6
	"""
	#lena=abs(float(a[1])-float(a[0]))
	#lenb=abs(float(b[1])-float(b[0]))
	overlap=max(0, min(float(a[1]), float(b[1])) - max(float(a[0]), float(b[0]))+1)
	#minlen=min(lena,lenb)
	#return min(minlen,overlap)
	return overlap