|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
49 template<
int Dim,
typename Next>
60 for (
int i = 0; i < Dim; i++) {
96 m_pHead = m_pTail =
nullptr;
99 void addChunk(Chunk *p) {
100 if(m_pHead ==
nullptr)
101 m_pHead = m_pTail = p;
154 void freeChunk(Chunk *p) {
166 void freeChunks(Chunk *pHead, Chunk *pTail) {
178 bool contains(
const Row &
r,
int x)
const;
180 void symDiff(Row &
r,
const Row &other);
198 bool contains(OBJ obj)
const {
213 while (it.
valid() && *it < obj) {
232 while(itOther.
valid())
238 }
else if(*it == *itOther) {
243 }
else if(*itOther < *it) {
312 std::cout << std::setw(4) << i <<
": ";
The namespace for all OGDF objects.
void add(int x, ListIterator< int > it)
#define OGDF_ASSERT(expr)
Assert condition expr. See doc/build.md for more information.
void freeChunk2(Chunk2 *p)
Array< Equation * > m_equations
bool valid() const
Returns true iff the iterator points to an element.
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
ListConstIterator< int > begin() const
const Equation & operator[](int i) const
The parameterized class Array implements dynamic arrays of type E.
ListIterator< int > m_it[chunkSize2]
void symDiff2(int r1, int r2, Array< Row2 > &rows, Array< List< int >> &cols)
void del(iterator it)
Removes it from the list.
Basic declarations, included by all source files.
Declaration and implementation of Array class and Array algorithms.
GF2Solver(GF2Solver::Matrix &Mx)
static constexpr int chunkSize
Declaration of doubly linked lists and iterators.
void freeChunks2(Chunk2 *pHead, Chunk2 *pTail)
int size() const
Returns the number of elements in the list.
ListConstIterator< int > end() const
Encapsulates a pointer to a list element.
static constexpr int chunkSize2
Equation & operator[](int i)
Equation & operator|=(int obj)
Declaration of memory manager for allocating small pieces of memory.
iterator pushBack(const E &x)
Adds element x at the end of the list.
iterator insertBefore(const E &x, iterator it)
Inserts element x before it.