38namespace energybased {
45 output <<
" node_index " <<
A.vertex->index() <<
" x_y_coord " <<
A.x_y_coord
46 << (
A.marked ?
" marked " :
" unmarked ") <<
" sublist_ptr ";
47 if (
A.subList_ptr ==
nullptr) {
50 output <<
A.subList_ptr;
57 friend std::istream &operator>> (std::istream & input,
ParticleInfo & A)
85 void mark() { marked =
true; }
Includes declaration of graph class.
Declaration of doubly linked lists and iterators.
Doubly linked lists (maintaining the length of the list).
Encapsulates a pointer to a list element.
Class for the representation of nodes.
Helping data structure for building up the reduced quad tree by NMM.
ListIterator< ParticleInfo > get_tmp_cross_ref_item() const
void set_cross_ref_item(ListIterator< ParticleInfo > it)
node vertex
the vertex of G that is associated with this attributes
void set_x_y_coord(double c)
friend std::ostream & operator<<(std::ostream &output, const ParticleInfo &A)
Output stream for ParticleInfo.
double x_y_coord
the x (resp.
ListIterator< ParticleInfo > copy_item
the item of this entry in the copy List
void set_subList_ptr(List< ParticleInfo > *ptr)
List< ParticleInfo > * get_subList_ptr() const
ListIterator< ParticleInfo > get_copy_item() const
double get_x_y_coord() const
ListIterator< ParticleInfo > tmp_item
A temporary item that is used to construct the cross references for the copy_Lists and the subLists.
List< ParticleInfo > * subList_ptr
Points to the subList of L_x(L_y) where the actual entry of ParticleInfo has to be stored.
ListIterator< ParticleInfo > cross_ref_item
the Listiterator of the ParticleInfo-Element that containes the vertex in the List storing the other ...
void set_tmp_cross_ref_item(ListIterator< ParticleInfo > it)
ParticleInfo()
constructor
bool marked
indicates if this ParticleInfo object is marked or not
void set_copy_item(ListIterator< ParticleInfo > it)
ListIterator< ParticleInfo > get_cross_ref_item() const
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
#define OGDF_DECLARE_COMPARER(NAME, TYPE, NUMBER, GET_X_ATTR)
Declares a class NAME that extends from ogdf::GenericComparer.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.