utils/PrecisionRecall.js
function(begin, end)
	{
		if ((begin[0]<=end[0])&&(begin[1]>=end[0]))
			return true
		if ((begin[0]>=end[0])&&(begin[0]<=end[1]))
			return true
		return false
	}
function(begin, end)
	{
		if ((begin[0]<=end[0])&&(begin[1]>=end[0]))
			return true
		if ((begin[0]>=end[0])&&(begin[0]<=end[1]))
			return true
		return false
	}
function ( begin , end ) { if ( ( begin [ 0 ] <= end [ 0 ] ) && ( begin [ 1 ] >= end [ 0 ] ) ) return true if ( ( begin [ 0 ] >= end [ 0 ] ) && ( begin [ 0 ] <= end [ 1 ] ) ) return true return false }
simple intersection
simple intersection