Package edu.cmu.tetrad.graph
Class GraphUtils.GraphComparison
java.lang.Object
edu.cmu.tetrad.graph.GraphUtils.GraphComparison
-
Constructor Summary
ConstructorsConstructorDescriptionGraphComparison
(int adjFn, int adjFp, int adjCorrect, int ahdFn, int ahdFp, int ahdCorrect, double adjPrec, double adjRec, double ahdPrec, double ahdRec, int shd, List<Edge> edgesAdded, List<Edge> edgesRemoved, int[][] counts) Constructs a new GraphComparison. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the adjacency correct.int
getAdjFn()
Returns the adjacency false negatives.int
getAdjFp()
Returns the adjacency false positives.double
Returns the adjaency precision.double
Returns the adjacency recall.int
Returns the arrowhead correct.int
getAhdFn()
Returns the arrowhead false negatives.int
getAhdFp()
Returns the arrowhead false positives.double
Returns the arrowhead precision.double
Returns the arrowhead recall.int[][]
Returns the counts.Returns the edges added.Returns the edges removed.int
getShd()
Returns the adjacency precision.
-
Constructor Details
-
GraphComparison
-
-
Method Details
-
getAdjFn
public int getAdjFn()Returns the adjacency false negatives.- Returns:
- the adjacency false negatives.
-
getAdjFp
public int getAdjFp()Returns the adjacency false positives.- Returns:
- the adjacency false positives.
-
getAdjCor
public int getAdjCor()Returns the adjacency correct.- Returns:
- the adjacency correct.
-
getAhdFn
public int getAhdFn()Returns the arrowhead false negatives.- Returns:
- the arrowhead false negatives.
-
getAhdFp
public int getAhdFp()Returns the arrowhead false positives.- Returns:
- the arrowhead false positives.
-
getAhdCor
public int getAhdCor()Returns the arrowhead correct.- Returns:
- the arrowhead correct.
-
getShd
public int getShd()Returns the adjacency precision.- Returns:
- the adjacency precision.
-
getEdgesAdded
-
getEdgesRemoved
-
getAdjPrec
public double getAdjPrec()Returns the adjaency precision.- Returns:
- the adjacency precision.
-
getAdjRec
public double getAdjRec()Returns the adjacency recall.- Returns:
- the adjacency recall.
-
getAhdPrec
public double getAhdPrec()Returns the arrowhead precision.- Returns:
- the arrowhead precision.
-
getAhdRec
public double getAhdRec()Returns the arrowhead recall.- Returns:
- the arrowhead recall.
-
getCounts
public int[][] getCounts()Returns the counts.- Returns:
- the counts.
-