Tulip  5.7.4
Large graphs analysis and drawing
tlp::SortNodeIterator Struct Reference

#include <SortIterator.h>

+ Inheritance diagram for tlp::SortNodeIterator:
+ Collaboration diagram for tlp::SortNodeIterator:

Public Member Functions

 SortNodeIterator (Iterator< tlp::node > *itIn, const tlp::NumericProperty *metric, bool ascendingOrder=true)
 
- Public Member Functions inherited from tlp::StableIterator< tlp::node >
 StableIterator (Iterator< tlp::node > *inputIterator, size_t nbElements=0, bool deleteIterator=true, bool sortCopy=false)
 
bool hasNext ()
 
tlp::node next ()
 
void restart ()
 
- Public Member Functions inherited from tlp::Iterator< T >
iterator_t begin ()
 
iterator_t end ()
 

Additional Inherited Members

- Protected Attributes inherited from tlp::StableIterator< tlp::node >
std::vector< tlp::node >::const_iterator copyIterator
 
std::vector< tlp::nodesequenceCopy
 

Detailed Description

This Iterator sorts the nodes in a sequence based on their values in a NumericProperty.

Definition at line 93 of file SortIterator.h.