Skip to content

Commit

Permalink
Exposed some methods for allow Markov Checker independencies to be pr…
Browse files Browse the repository at this point in the history
…inted in R.
  • Loading branch information
jdramsey committed Nov 15, 2023
1 parent 2ec8349 commit ae93285
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tetrad-lib/src/main/java/edu/cmu/tetrad/search/MarkovCheck.java
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ public static AllSubsetsIndependenceFacts getAllSubsetsIndependenceFacts(Graph g
}

public static class AllSubsetsIndependenceFacts {
public final List<IndependenceFact> msep;
public final List<IndependenceFact> mconn;
private final List<IndependenceFact> msep;
private final List<IndependenceFact> mconn;

public AllSubsetsIndependenceFacts(List<IndependenceFact> msep, List<IndependenceFact> mconn) {
this.msep = msep;
Expand All @@ -206,6 +206,14 @@ public String toStringDep() {

return builder.toString();
}

public List<IndependenceFact> getMsep() {
return msep;
}

public List<IndependenceFact> getMconn() {
return mconn;
}
}

/**
Expand Down

0 comments on commit ae93285

Please sign in to comment.