template<class Container> | |
void | mcb::cycle_matrix (const graph &g, const array< Container > &cb, const mcb::edge_num &enumb, integer_matrix &B) |
Compute the cycle matrix of a cycle basis. | |
std::ostream & | mcb::output_maple_format (std::ostream &out, const integer_matrix &B) |
Output a LEDA integer_matrix in a format compatible with maple. | |
template<class Container> | |
leda::integer | mcb::determinant (const graph &g, const array< Container > &cb, const mcb::edge_num &enumb) |
Compute the determinant of a cycle basis. |
|
Compute the cycle matrix of a cycle basis.
Let The edges have values either -1,0,1 based on an arbitrary orientation of traversing the cycle and based on the orientation of the edges of the graph. The absolute value of the determinant of this matrix describes the cycle basis. If it is positive then the cycle basis is a directed cycle basis. If it is an odd numbers then the basis is an undirected cycle basis. If it is 1 then the basis is an integral cycle basis.
|
|
Compute the determinant of a cycle basis.
|
|
Output a LEDA integer_matrix in a format compatible with maple.
|