/home/coin/svn-release/OptimizationSuite-1.1.0/Bcp/src/include/BCP_set_intersects.hpp File Reference

Go to the source code of this file.

Functions

template<class _InputIter1 , class _InputIter2 >
const bool intersects (_InputIter1 __first1, _InputIter1 __last1, _InputIter2 __first2, _InputIter2 __last2)
 Intersection tester using operator< for comparison.
template<class _InputIter1 , class _InputIter2 , class _Compare >
const bool intersects (_InputIter1 __first1, _InputIter1 __last1, _InputIter2 __first2, _InputIter2 __last2, _Compare __comp)
 Intersection tester using a function object for comparison.

Function Documentation

template<class _InputIter1 , class _InputIter2 >
const bool intersects ( _InputIter1  __first1,
_InputIter1  __last1,
_InputIter2  __first2,
_InputIter2  __last2 
) [inline]

Intersection tester using operator< for comparison.

Returns true if the ordered intervals [__first1,__last1) and [__first2,__last2) intersect each other. The intervals are ordered by operator<.

Definition at line 14 of file BCP_set_intersects.hpp.

template<class _InputIter1 , class _InputIter2 , class _Compare >
const bool intersects ( _InputIter1  __first1,
_InputIter1  __last1,
_InputIter2  __first2,
_InputIter2  __last2,
_Compare  __comp 
) [inline]

Intersection tester using a function object for comparison.

Returns true if the ordered intervals [__first1,__last1) and [__first2,__last2) intersect each other. The intervals are ordered by the function object _comp, which takes two arguments and returns true if and only if the first argument is considered smaller than the second one.

Definition at line 34 of file BCP_set_intersects.hpp.


Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1