|
| LocalForest () |
|
void | setNumberOfNodes (const std::size_t nbNodes) |
|
void | setNbCC (const std::size_t nb) |
|
void | reset () |
|
bool | insertEdge (DynGraphNode< Type > *const n1, DynGraphNode< Type > *const n2, const Type w, const idSuperArc corArc) |
|
bool | insertEdge (const std::size_t n1, const std::size_t n2, const Type w, const idSuperArc corArc) |
| inert or replace existing edge between n1 and n2
|
|
void | removeEdge (DynGraphNode< Type > *const n) |
| remove the link btwn n and its parent
|
|
void | removeEdge (const std::size_t nid) |
| remove the link btwn n and its parent
|
|
int | removeEdge (DynGraphNode< Type > *const n1, DynGraphNode< Type > *const n2) |
|
int | removeEdge (const std::size_t nid1, const std::size_t nid2) |
|
std::size_t | getNbCC () const |
| count the number of connected component in a list of nodes
|
|
| DynamicGraph () |
|
| ~DynamicGraph () override |
|
void | setNumberOfNodes (const std::size_t nbNodes) |
|
void | alloc () override |
|
void | init () override |
|
DynGraphNode< Type > * | getNode (const std::size_t nid) |
| get the node with the id: nid
|
|
const DynGraphNode< Type > * | getNode (const std::size_t nid) const |
|
std::size_t | getNodeId (DynGraphNode< Type > *node) |
| get the id of the node: node
|
|
void | setSubtreeArc (const std::size_t nid, const idSuperArc arc) |
|
void | setCorArc (const std::size_t nid, idSuperArc arc) |
|
idSuperArc | getSubtreeArc (const std::size_t nid) const |
|
idSuperArc | getCorArc (const std::size_t nid) const |
|
bool | isDisconnected (const DynGraphNode< Type > *const node) const |
|
bool | isDisconnected (const std::size_t nid) |
|
DynGraphNode< Type > * | findRoot (const DynGraphNode< Type > *const node) |
| recover the root of a node
|
|
DynGraphNode< Type > * | findRoot (const std::size_t nid) |
| recover the root of a node using its id
|
|
std::vector< DynGraphNode< Type > * > | findRoot (std::initializer_list< DynGraphNode< Type > * > nodes) |
| recover the root of several nodes once, using brace initializers style: findRoot({n1,n2})
|
|
std::vector< DynGraphNode< Type > * > | findRoot (std::initializer_list< std::size_t > nodesIds) |
| findRoot but using ids of the nodes
|
|
template<typename type > |
std::set< DynGraphNode< Type > * > | findRoot (const std::vector< type > &nodesIds) |
| findRoot but using ids of the nodes in a vector
|
|
bool | insertEdge (DynGraphNode< Type > *const n1, DynGraphNode< Type > *const n2, const Type w, const idSuperArc corArc) |
|
bool | insertEdge (const std::size_t n1, const std::size_t n2, const Type w, const idSuperArc corArc) |
| inert or replace existing edge between n1 and n2
|
|
void | removeEdge (DynGraphNode< Type > *const n) |
| remove the link btwn n and its parent
|
|
void | removeEdge (const std::size_t nid) |
| remove the link btwn n and its parent
|
|
int | removeEdge (DynGraphNode< Type > *const n1, DynGraphNode< Type > *const n2) |
|
int | removeEdge (const std::size_t nid1, const std::size_t nid2) |
|
std::string | print () |
|
std::string | print (const std::function< std::string(std::size_t)> &) |
|
std::string | printNbCC () |
|
void | test () |
|
void | setNumberOfElmt (const idVertex nbVerts) |
|
template<typename type > |
void | fillVector (std::vector< type > &vect, const type &elmt) |
|
| 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) |
|
| BaseClass () |
|
virtual | ~BaseClass ()=default |
|
int | getThreadNumber () const |
|
virtual int | setThreadNumber (const int threadNumber) |
|
template<typename Type>
class ttk::ftr::LocalForest< Type >
Definition at line 200 of file DynamicGraph.h.