edu.emory.mathcs.csparsej.tdouble
Class Dcs_leaf
- java.lang.Object
-
- edu.emory.mathcs.csparsej.tdouble.Dcs_leaf
-
public class Dcs_leaf extends java.lang.ObjectDetermine if j is a leaf of the skeleton matrix and find lowest common ancestor (lca).
-
-
Constructor Summary
Constructors Constructor and Description Dcs_leaf()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static intcs_leaf(int i, int j, int[] first, int first_offset, int[] maxfirst, int maxfirst_offset, int[] prevleaf, int prevleaf_offset, int[] ancestor, int ancestor_offset, int[] jleaf)Determines if j is a leaf of the skeleton matrix and find lowest common ancestor (lca).
-
-
-
Method Detail
-
cs_leaf
public static int cs_leaf(int i, int j, int[] first, int first_offset, int[] maxfirst, int maxfirst_offset, int[] prevleaf, int prevleaf_offset, int[] ancestor, int ancestor_offset, int[] jleaf)Determines if j is a leaf of the skeleton matrix and find lowest common ancestor (lca).- Parameters:
i-j-first-first_offset-maxfirst-maxfirst_offset-prevleaf-prevleaf_offset-ancestor-ancestor_offset-jleaf-- Returns:
- lca(jprev,j)
-
-
DMelt 3.0 © DataMelt by jWork.ORG