45 template<
int Dim,
typename Next>
56 for (
int i = 0; i <
Dim; i++) {
92 m_pHead = m_pTail =
nullptr;
95 void addChunk(Chunk *p) {
96 if(m_pHead ==
nullptr)
97 m_pHead = m_pTail = p;
174 bool contains(
const Row &
r,
int x)
const;
194 bool contains(
OBJ obj)
const {
209 while (it.
valid() && *it < obj) {
308 std::cout << std::setw(4) << i <<
": ";
Declaration of doubly linked lists and iterators.
The parameterized class Array implements dynamic arrays of type E.
Equation & operator|=(int obj)
ListConstIterator< int > begin() const
ListConstIterator< int > end() const
Equation & operator[](int i)
Array< Equation * > m_equations
const Equation & operator[](int i) const
void freeChunks2(Chunk2 *pHead, Chunk2 *pTail)
void freeChunk2(Chunk2 *p)
void symDiff2(int r1, int r2, Array< Row2 > &rows, Array< List< int > > &cols)
static constexpr int chunkSize2
GF2Solver(GF2Solver::Matrix &Mx)
static constexpr int chunkSize
Doubly linked lists (maintaining the length of the list).
int size() const
Returns the number of elements in the list.
iterator pushBack(const E &x)
Adds element x at the end of the list.
void del(iterator it)
Removes it from the list.
iterator insertBefore(const E &x, iterator it)
Inserts element x before it.
Encapsulates a pointer to a list element.
bool valid() const
Returns true iff the iterator points to an element.
iterator begin()
Returns an iterator to the first element of the list.
iterator end()
Returns an iterator to one-past-last element of the list.
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.
void add(int x, ListIterator< int > it)
ListIterator< int > m_it[chunkSize2]