1 #ifndef __JTOOLS__JSET__
2 #define __JTOOLS__JSET__
15 namespace JPP {
using namespace JTOOLS; }
19 template<
class JElement_t,
class JDistance_t>
28 template<
class JAbscissa_t>
50 for (
int i = 0; i != collection.
getSize(); ++i) {
51 this->insert(collection.
getX(i));
65 for (
T i = __begin; i != __end; ++i) {
78 return (
int) this->size();
105 return *(this->begin());
116 return *(this->rbegin());
126 template<
class JElement_t,
class JDistance_t>
156 template<
class JAbscissa_t>
do set_variable OUTPUT_DIRECTORY $WORKDIR T
T make_set(T __begin, T __end, JResult_t std::iterator_traits< T >::value_type::*value, const JComparator_t &comparator)
Method to exclude outliers from already sorted data.
counter_type advance(counter_type &counter, const counter_type value, const counter_type limit=std::numeric_limits< counter_type >::max())
Advance counter.