Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

ogdf::energybased::fmmm::ParticleInfoComparer Class Reference

Needed for sorting algorithms in ogdf/List and ogdf/Array. More...

#include <ogdf/energybased/fmmm/new_multipole_method/ParticleInfo.h>

Static Public Member Functions

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. More...
 

Detailed Description

Needed for sorting algorithms in ogdf/List and ogdf/Array.

Definition at line 125 of file ParticleInfo.h.

Member Function Documentation

◆ compare()

static int ogdf::energybased::fmmm::ParticleInfoComparer::compare ( const ParticleInfo &  a,
const ParticleInfo &  b 
)
inlinestatic

Returns -1(1) if height of a <(>) height of b. If they are equal 0 is returned.

Definition at line 129 of file ParticleInfo.h.


The documentation for this class was generated from the following file: