Tulip 5.7.1
Large graphs analysis and drawing
Loading...
Searching...
No Matches
tlp::SortEdgeIterator Struct Reference

#include <SortIterator.h>

+ Inheritance diagram for tlp::SortEdgeIterator:
+ Collaboration diagram for tlp::SortEdgeIterator:

Public Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from tlp::StableIterator< tlp::edge >
std::vector< tlp::edge >::const_iterator copyIterator
 
std::vector< tlp::edgesequenceCopy
 

Detailed Description

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

Definition at line 114 of file SortIterator.h.

Constructor & Destructor Documentation

◆ SortEdgeIterator()

tlp::SortEdgeIterator::SortEdgeIterator ( Iterator< tlp::edge > *  itIn,
const tlp::NumericProperty metric,
bool  ascendingOrder = true 
)
inline

Definition at line 116 of file SortIterator.h.

◆ ~SortEdgeIterator()

tlp::SortEdgeIterator::~SortEdgeIterator ( )
inlineoverride

Definition at line 129 of file SortIterator.h.