bool leq()

in include/SparseSetAbstractDomain.h [68:78]


  bool leq(const SparseSetValue& other) const override {
    if (m_element_num > other.m_element_num) {
      return false;
    }
    for (size_t i = 0; i < m_element_num; ++i) {
      if (!other.contains(m_dense[i])) {
        return false;
      }
    }
    return true;
  }