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

manage propagations for FTR Graph More...

#include <FTRPropagations.h>

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

Public Member Functions

 ~Propagations () override=default
 
void alloc () override
 
void init () override
 
PropagationnewPropagation (const idVertex leaf, const VertCompFN &comp, const bool fromMin)
 
void toVisit (const idVertex v, Propagation *const prop)
 
void visit (const idVertex v, Propagation *const prop)
 
bool willVisit (const idVertex v, const Propagation *const prop) const
 
bool hasVisited (const idVertex v, Propagation *const prop) const
 
bool hasVisitedOpposite (const idVertex v, Propagation *const prop) const
 
Visit visit (const idVertex v, const Propagation *const prop) const
 
Visit visitOpposite (const idVertex v, const Propagation *const prop) const
 
- 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

manage propagations for FTR Graph

Author
charles gueunet 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-11
See also
ttk::Triangulation
FTRGraph.h for a usage example.

Definition at line 34 of file FTRPropagations.h.

Constructor & Destructor Documentation

◆ ~Propagations()

ttk::ftr::Propagations::~Propagations ( )
overridedefault

Member Function Documentation

◆ alloc()

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

Implements ttk::ftr::Allocable.

Definition at line 41 of file FTRPropagations.h.

◆ hasVisited()

bool ttk::ftr::Propagations::hasVisited ( const idVertex  v,
Propagation *const  prop 
) const
inline

Definition at line 92 of file FTRPropagations.h.

◆ hasVisitedOpposite()

bool ttk::ftr::Propagations::hasVisitedOpposite ( const idVertex  v,
Propagation *const  prop 
) const
inline

Definition at line 106 of file FTRPropagations.h.

◆ init()

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

Implements ttk::ftr::Allocable.

Definition at line 47 of file FTRPropagations.h.

◆ newPropagation()

Propagation * ttk::ftr::Propagations::newPropagation ( const idVertex  leaf,
const VertCompFN comp,
const bool  fromMin 
)
inline

Definition at line 57 of file FTRPropagations.h.

◆ toVisit()

void ttk::ftr::Propagations::toVisit ( const idVertex  v,
Propagation *const  prop 
)
inline

Definition at line 66 of file FTRPropagations.h.

◆ visit() [1/2]

Visit ttk::ftr::Propagations::visit ( const idVertex  v,
const Propagation *const  prop 
) const
inline

Definition at line 123 of file FTRPropagations.h.

◆ visit() [2/2]

void ttk::ftr::Propagations::visit ( const idVertex  v,
Propagation *const  prop 
)
inline

Definition at line 74 of file FTRPropagations.h.

◆ visitOpposite()

Visit ttk::ftr::Propagations::visitOpposite ( const idVertex  v,
const Propagation *const  prop 
) const
inline

Definition at line 131 of file FTRPropagations.h.

◆ willVisit()

bool ttk::ftr::Propagations::willVisit ( const idVertex  v,
const Propagation *const  prop 
) const
inline

Definition at line 84 of file FTRPropagations.h.


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