|
Medusa
1.1
Coordinate Free Mehless Method implementation
|
|
Go to the documentation of this file.
11 min_support_(min_support), max_support_(max_support), for_which_(), search_among_(),
Root namespace for the whole library.
int min_support_
Minimal support size.
FindBalancedSupport & forceSelf(bool b=true)
Put each node as the first of its support, even if it is not included in searchAmong().
Range< int > search_among_
Search only among these nodes.
FindBalancedSupport & minSupportSize(int size)
Set minimum support size. This overrides the size set in constructor.
int max_support_
Maximal support size.
bool force_self_
Force each node as the first element of its support.
std::vector< int > indexes_t
Class representing a collection of indices.
Class representing the engine for finding directionally balanced supports.
FindBalancedSupport & maxSupportSize(int size)
Set maximal support size. This overrides the size set in constructor.
FindBalancedSupport & searchAmong(indexes_t search_among)
Search only among given nodes.
FindBalancedSupport(int min_support, int max_support)
Constructs an engine with given min and max support sizes.
FindBalancedSupport & forNodes(indexes_t for_which)
Find support only for these nodes.
Range< int > for_which_
Find support only for these nodes.