|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
42 namespace energybased {
49 output <<
" node_index " <<
A.vertex->index() <<
" x_y_coord " <<
A.x_y_coord
50 << (
A.marked ?
" marked " :
" unmarked ") <<
" sublist_ptr ";
51 if (
A.subList_ptr ==
nullptr) {
54 output <<
A.subList_ptr;
73 , cross_ref_item(nullptr)
74 , subList_ptr(nullptr)
77 , tmp_item(nullptr) { }
89 void mark() { marked =
true; }
The namespace for all OGDF objects.
Includes declaration of graph class.
ListIterator< ParticleInfo > copy_item
the item of this entry in the copy List
void set_subList_ptr(List< ParticleInfo > *ptr)
void set_x_y_coord(double c)
friend std::ostream & operator<<(std::ostream &output, const ParticleInfo &A)
Output stream for ParticleInfo.
void set_cross_ref_item(ListIterator< ParticleInfo > it)
double x_y_coord
the x (resp.
node vertex
the vertex of G that is associated with this attributes
double get_x_y_coord() const
Helping data structure for building up the reduced quad tree by NMM.
ListIterator< ParticleInfo > get_tmp_cross_ref_item() const
void set_tmp_cross_ref_item(ListIterator< ParticleInfo > it)
Doubly linked lists (maintaining the length of the list).
bool marked
indicates if this ParticleInfo object is marked or not
ListIterator< ParticleInfo > get_copy_item() const
ListIterator< ParticleInfo > cross_ref_item
the Listiterator of the ParticleInfo-Element that containes the vertex in the List storing the other ...
List< ParticleInfo > * get_subList_ptr() const
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
OGDF_DECLARE_COMPARER(ParticleInfoComparer, ParticleInfo, double, x.get_x_y_coord())
Declaration of doubly linked lists and iterators.
ParticleInfo()
constructor
std::istream & operator>>(std::istream &is, TokenIgnorer token)
Encapsulates a pointer to a list element.
ListIterator< ParticleInfo > get_cross_ref_item() const
void set_copy_item(ListIterator< ParticleInfo > it)
Declarations for Comparer objects.
Class for the representation of nodes.
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.