TTK
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ttk::AssignmentMunkres< dataType > Class Template Reference

#include <AssignmentMunkres.h>

Inheritance diagram for ttk::AssignmentMunkres< dataType >:
ttk::Debug ttk::AssignmentSolver< dataType > ttk::BaseClass ttk::Debug ttk::BaseClass

Public Member Functions

 AssignmentMunkres ()
 
 ~AssignmentMunkres () override=default
 
int run (std::vector< MatchingType > &matchings) override
 
void clear () override
 
int setInput (std::vector< std::vector< dataType > > &C_) override
 
void showCostMatrix ()
 
void showMaskMatrix ()
 
- 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)
 
- Public Member Functions inherited from ttk::AssignmentSolver< dataType >
 AssignmentSolver ()=default
 
 ~AssignmentSolver () override=default
 
virtual void clearMatrix ()
 
virtual void setBalanced (bool balanced)
 
virtual std::vector< std::vector< dataType > > getCostMatrix ()
 
virtual std::vector< std::vector< dataType > > * getCostMatrixPointer ()
 
void printTableVector (std::vector< std::vector< dataType > > &table)
 

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::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 
- Protected Attributes inherited from ttk::AssignmentSolver< dataType >
std::vector< std::vector< dataType > > costMatrix
 
int rowSize = 0
 
int colSize = 0
 
bool balancedAssignment
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

template<class dataType>
class ttk::AssignmentMunkres< dataType >
Author
Maxime Soler soler.nosp@m..max.nosp@m.ime@t.nosp@m.otal.nosp@m..com

Definition at line 16 of file AssignmentMunkres.h.

Constructor & Destructor Documentation

◆ AssignmentMunkres()

template<class dataType >
ttk::AssignmentMunkres< dataType >::AssignmentMunkres ( )
inline

Definition at line 20 of file AssignmentMunkres.h.

◆ ~AssignmentMunkres()

template<class dataType >
ttk::AssignmentMunkres< dataType >::~AssignmentMunkres ( )
overridedefault

Member Function Documentation

◆ clear()

template<class dataType >
void ttk::AssignmentMunkres< dataType >::clear ( )
inlineoverridevirtual

Reimplemented from ttk::AssignmentSolver< dataType >.

Definition at line 28 of file AssignmentMunkres.h.

◆ run()

template<typename dataType >
int ttk::AssignmentMunkres< dataType >::run ( std::vector< MatchingType > &  matchings)
overridevirtual

Implements ttk::AssignmentSolver< dataType >.

Definition at line 8 of file AssignmentMunkresImpl.h.

◆ setInput()

template<class dataType >
int ttk::AssignmentMunkres< dataType >::setInput ( std::vector< std::vector< dataType > > &  C_)
inlineoverridevirtual

Reimplemented from ttk::AssignmentSolver< dataType >.

Definition at line 34 of file AssignmentMunkres.h.

◆ showCostMatrix()

template<class dataType >
void ttk::AssignmentMunkres< dataType >::showCostMatrix ( )
inline

Definition at line 64 of file AssignmentMunkres.h.

◆ showMaskMatrix()

template<class dataType >
void ttk::AssignmentMunkres< dataType >::showMaskMatrix ( )
inline

Definition at line 76 of file AssignmentMunkres.h.


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