TTK
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ttk::ftr::Lazy Class Reference

TTK DynamicGraph laziness. More...

#include <FTRLazy.h>

Inheritance diagram for ttk::ftr::Lazy:
ttk::ftr::Allocable ttk::Debug ttk::BaseClass

Public Member Functions

 Lazy ()=default
 
void alloc () override
 
void init () override
 
void addEmplace (const idEdge e0, const idEdge e1, const idSuperArc a)
 
void delEmplace (const idEdge e0, const idEdge e1, const idSuperArc a)
 
linkEdge addGetNext (const idSuperArc a)
 
bool isEmpty (const idSuperArc a)
 
- Public Member Functions inherited from ttk::ftr::Allocable
void setNumberOfElmt (const idVertex nbVerts)
 
template<typename type >
void fillVector (std::vector< type > &vect, const type &elmt)
 
virtual void alloc ()=0
 
virtual void init ()=0
 
- Public Member Functions inherited from ttk::Debug
 Debug ()
 
 ~Debug () override
 
virtual int setDebugLevel (const int &debugLevel)
 
int setWrapper (const Wrapper *wrapper) override
 
int printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
void setDebugMsgPrefix (const std::string &prefix)
 
- Public Member Functions inherited from ttk::BaseClass
 BaseClass ()
 
virtual ~BaseClass ()=default
 
int getThreadNumber () const
 
virtual int setThreadNumber (const int threadNumber)
 
virtual int setWrapper (const Wrapper *wrapper)
 

Additional Inherited Members

- Protected Member Functions inherited from ttk::Debug
int printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const
 
int welcomeMsg (std::ostream &stream)
 
- Protected Attributes inherited from ttk::ftr::Allocable
idVertex nbElmt_ = nullVertex
 Allocation may depends on the number of vertices.
 
- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

TTK DynamicGraph laziness.

Author
Gueunet Charles charl.nosp@m.es.g.nosp@m.ueune.nosp@m.t+tt.nosp@m.k@gma.nosp@m.il.c.nosp@m.om
Date
2018-07-31

This class maintain the information per arc for the lazy evaluation of each DG component.

See also
ttk::FTRGraph

Definition at line 26 of file FTRLazy.h.

Constructor & Destructor Documentation

◆ Lazy()

ttk::ftr::Lazy::Lazy ( )
default

Member Function Documentation

◆ addEmplace()

void ttk::ftr::Lazy::addEmplace ( const idEdge  e0,
const idEdge  e1,
const idSuperArc  a 
)
inline

Definition at line 41 of file FTRLazy.h.

◆ addGetNext()

linkEdge ttk::ftr::Lazy::addGetNext ( const idSuperArc  a)
inline

Definition at line 55 of file FTRLazy.h.

◆ alloc()

void ttk::ftr::Lazy::alloc ( )
inlineoverridevirtual

Implements ttk::ftr::Allocable.

Definition at line 33 of file FTRLazy.h.

◆ delEmplace()

void ttk::ftr::Lazy::delEmplace ( const idEdge  e0,
const idEdge  e1,
const idSuperArc  a 
)
inline

Definition at line 45 of file FTRLazy.h.

◆ init()

void ttk::ftr::Lazy::init ( )
inlineoverridevirtual

Implements ttk::ftr::Allocable.

Definition at line 37 of file FTRLazy.h.

◆ isEmpty()

bool ttk::ftr::Lazy::isEmpty ( const idSuperArc  a)
inline

Definition at line 65 of file FTRLazy.h.


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