CMR
1.3.0
|
#include <matroid_decomposition.hpp>
Public Member Functions | |
decomposed_matroid_leaf (matroid_graph *graph, matroid_graph *cograph, bool is_R10, const std::set< int > &elements, const matroid_element_set &extra_elements) | |
virtual | ~decomposed_matroid_leaf () |
virtual bool | is_leaf () const |
const matroid_graph * | graph () const |
const matroid_graph * | cograph () const |
bool | is_R10 () const |
bool | is_graphic () const |
bool | is_cographic () const |
virtual bool | is_regular () const |
Public Member Functions inherited from tu::decomposed_matroid | |
decomposed_matroid (const matroid_element_set &elements, const matroid_element_set &extra_elements) | |
virtual | ~decomposed_matroid () |
const matroid_element_set & | elements () const |
const matroid_element_set & | extra_elements () const |
Protected Attributes | |
matroid_graph * | _graph |
matroid_graph * | _cograph |
bool | _is_R10 |
Leaf node in a decomposition tree
|
explicit |
Constructs the node
graph | A corresponding graph or NULL if not graphic |
cograph | A corresponding cograph or NULL if not cographic |
is_R10 | Whether this matroid is isomorphic to R10 |
elements | Set of elements |
extra_elements | Set of extra elements |
|
virtual |
Destructor
|
inline |
@returnA corresponding cograph or NULL if the matroid is not cographic
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements tu::decomposed_matroid.
|
inline |
|
inlinevirtual |
Implements tu::decomposed_matroid.
|
protected |
|
protected |
|
protected |