void CellFilter::registerDisjoint(const CellFilter& sub) const { SubsetManager::registerDisjoint(*this, sub); for (Set<CellFilter>::const_iterator i=sub.knownDisjoints().begin(); i!=sub.knownDisjoints().end(); i++) { SubsetManager::registerDisjoint(*this, *i); } }
bool CellFilter::isKnownDisjointWith(const CellFilter& other) const { if (other.knownDisjoints().contains(*this)) return true; if (this->knownDisjoints().contains(other)) return true; return false; }