19 #ifndef _elimintree_h_
20 #define _elimintree_h_
BEGIN_C_DECLS typedef int pastix_int_t
static eTreeNode_t * eTreeFather(const EliminTree *etree, pastix_int_t node)
Return the father of a given node.
static pastix_int_t eTreeRoot(const EliminTree *etree)
Return the root of the elimination tree.
static pastix_int_t eTreeSonI(const EliminTree *etree, pastix_int_t node, pastix_int_t i)
Return the i^{th} son of a given node.
void eTreeSetSons(EliminTree *)
Set the fsonnum fields base on the initialized sonsnbr.
void eTreeGenDot(const EliminTree *, FILE *)
Print the elimination tree in a dot file.
EliminTree * eTreeInit(pastix_int_t)
Initialize the elimination tree structure.
struct etree_s EliminTree
Elimination tree.
pastix_int_t eTreeLeavesNbr(const EliminTree *)
Compute the number of leaves.
EliminTree * eTreeBuild(const symbol_matrix_t *)
Build the elimination tree.
pastix_int_t eTreeGetLevelMinIdx(const EliminTree *, pastix_int_t, pastix_int_t, pastix_int_t)
Return the smallest index of the nodes belonging to the level lvl in the elimination tree.
void eTreePrint(const EliminTree *, FILE *, pastix_int_t)
Print the elimination tree in a human readable format.
pastix_int_t eTreeComputeLevels(EliminTree *, pastix_int_t, pastix_int_t)
Compute the number of level existing below a given node.
struct etree_node_s eTreeNode_t
Node of the elimination tree.
pastix_int_t eTreeNodeLevel(const EliminTree *, pastix_int_t)
Compute the number of level existing below a given node.
pastix_int_t eTreeLevel(const EliminTree *)
Compute the height of the elimination tree.
void eTreeExit(EliminTree *)
Free the elimination tree structure.
Node of the elimination tree.