38 namespace energybased {
52 output<<
" sublist_ptr ";
75 cross_ref_item(nullptr),
89 void mark() { marked =
true; }
133 if(p < q )
return -1;
134 else if(p > q )
return 1;
bool marked
indicates if this ParticleInfo object is marked or not
Needed for sorting algorithms in ogdf/List and ogdf/Array.
void set_cross_ref_item(ListIterator< ParticleInfo > it)
void set_copy_item(ListIterator< ParticleInfo > it)
double get_x_y_coord() const
double x_y_coord
the x (resp.
static std::istream & operator>>(std::istream &inStream, HyperGraph::NodeArray< T > &array)
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
void set_x_y_coord(double c)
ListIterator< ParticleInfo > get_cross_ref_item() const
node vertex
the vertex of G that is associated with this attributes
Helping data structure for building up the reduced quad tree by NMM.
#define OGDF_AUGMENT_STATICCOMPARER(type)
Add this macro to your class to turn it into a full static comparer.
ListIterator< ParticleInfo > tmp_item
A temporary item that is used to construct the cross references for the copy_Lists and the subLists...
ostream & operator<<(ostream &os, const ogdf::Array< E, INDEX > &a)
Prints array a to output stream os.
~ParticleInfo()
destructor
static int compare(const ParticleInfo &a, const ParticleInfo &b)
Returns -1(1) if height of a <(>) height of b. If they are equal 0 is returned.
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 ...
Doubly linked lists (maintaining the length of the list).
ParticleInfo()
constructor
Class for the representation of nodes.
Encapsulates a pointer to a list element.
Includes declaration of graph class.
List< ParticleInfo > * get_subList_ptr() const
int index() const
Returns the (unique) node index.
ListIterator< ParticleInfo > get_tmp_cross_ref_item() const
ListIterator< ParticleInfo > copy_item
the item of this entry in the copy List
The namespace for all OGDF objects.
void set_subList_ptr(List< ParticleInfo > *ptr)
List< ParticleInfo > * subList_ptr
Points to the subList of L_x(L_y) where the actual entry of ParticleInfo has to be stored...
void set_tmp_cross_ref_item(ListIterator< ParticleInfo > it)
Declaration of doubly linked lists and iterators.