Structural deformable models
|
#include <StructTable.h>
Public Member Functions | |
StructPath () | |
StructPath (const StructPath &rhs) | |
~StructPath () | |
StructPath & | operator= (const StructPath &rhs) |
void | clear () |
Winner * | getWinner (MStructure &struc) |
const Winner * | getWinner (const MStructure &struc) const |
float | getGoodness () const |
void | protectWinners (StructTable &structs) |
void | unprotectWinners (StructTable &structs) |
void | blockOtherPaths (const std::set< std::string > &freepath, const StructTable &structs) |
std::ostream & | print (std::ostream &os, const StructTable &structs) const |
float | getRelGoodness () const |
StructPath | branch () const |
void | merge (const StructPath &mp) |
Public Attributes | |
float | m_Goodness |
goodness of path More... | |
float | m_Maxness |
maximum goodness More... | |
Protected Attributes | |
bool | m_WinnersProtected |
Definition at line 21 of file StructTable.h.
StructPath::StructPath | ( | ) |
Definition at line 523 of file StructTable.cpp.
StructPath::StructPath | ( | const StructPath & | rhs | ) |
StructPath::~StructPath | ( | ) |
Definition at line 532 of file StructTable.cpp.
void StructPath::blockOtherPaths | ( | const std::set< std::string > & | freepath, |
const StructTable & | structs | ||
) |
Definition at line 611 of file StructTable.cpp.
References StructTable::getStructs(), m_WinnersProtected, and Winner::WID_BLOCKED.
Referenced by StructTable::findBestConnection(), and getGoodness().
StructPath StructPath::branch | ( | ) | const |
Definition at line 664 of file StructTable.cpp.
References m_Goodness, m_Maxness, Winner::WID_BLOCKED, and Winner::WID_EMPTY.
Referenced by StructTable::findBestConnection(), and getRelGoodness().
void StructPath::clear | ( | ) |
Definition at line 548 of file StructTable.cpp.
References m_Goodness, m_Maxness, and m_WinnersProtected.
|
inline |
Definition at line 31 of file StructTable.h.
References blockOtherPaths(), m_Goodness, print(), protectWinners(), and unprotectWinners().
|
inline |
Definition at line 37 of file StructTable.h.
References branch(), m_Goodness, m_Maxness, and merge().
Referenced by StructTable::findBestConnection(), and print().
Winner * StructPath::getWinner | ( | MStructure & | struc | ) |
Definition at line 556 of file StructTable.cpp.
References MStructure::getName(), MStructure::getWinner(), and NULL.
const Winner * StructPath::getWinner | ( | const MStructure & | struc | ) | const |
Definition at line 566 of file StructTable.cpp.
References MStructure::getName(), MStructure::getWinner(), and NULL.
void StructPath::merge | ( | const StructPath & | mp | ) |
Definition at line 673 of file StructTable.cpp.
References m_Goodness, m_Maxness, Winner::WID_BLOCKED, and Winner::WID_EMPTY.
Referenced by StructTable::findBestConnection(), and getRelGoodness().
StructPath & StructPath::operator= | ( | const StructPath & | rhs | ) |
Definition at line 537 of file StructTable.cpp.
References m_Goodness, m_Maxness, and m_WinnersProtected.
Referenced by StructPath().
ostream & StructPath::print | ( | std::ostream & | os, |
const StructTable & | structs | ||
) | const |
Definition at line 624 of file StructTable.cpp.
References Winner::getConnection(), Model::getQualityOfFit(), getRelGoodness(), StructTable::getStructure(), MStructure::getSupStruct(), MStructure::getWeight(), MStructure::getWinner(), MStructure::hasSupStruct(), Winner::m_BestRating, m_Goodness, Winner::m_Model, SubStructure::m_RateWeight, Winner::WID_BLOCKED, and Winner::WID_EMPTY.
Referenced by getGoodness().
void StructPath::protectWinners | ( | StructTable & | structs | ) |
Definition at line 577 of file StructTable.cpp.
References StructTable::getStructs(), Winner::m_Model, m_WinnersProtected, Model::setFlags(), Model::ST_NODEL, Winner::WID_FIRST, and Winner::WID_LAST.
Referenced by getGoodness().
void StructPath::unprotectWinners | ( | StructTable & | structs | ) |
Definition at line 594 of file StructTable.cpp.
References StructTable::getStructs(), Winner::m_Model, m_WinnersProtected, Model::ST_NODEL, Model::unsetFlags(), Winner::WID_FIRST, and Winner::WID_LAST.
Referenced by getGoodness().
float StructPath::m_Goodness |
goodness of path
Definition at line 42 of file StructTable.h.
Referenced by branch(), clear(), StructTable::findBestConnection(), getGoodness(), getRelGoodness(), merge(), operator=(), and print().
float StructPath::m_Maxness |
maximum goodness
Definition at line 43 of file StructTable.h.
Referenced by branch(), clear(), StructTable::findBestConnection(), getRelGoodness(), merge(), and operator=().
|
protected |
Definition at line 45 of file StructTable.h.
Referenced by blockOtherPaths(), clear(), operator=(), protectWinners(), and unprotectWinners().