Skip to content

Commit

Permalink
SCM and other causality related classes
Browse files Browse the repository at this point in the history
  • Loading branch information
david huber committed Feb 15, 2024
1 parent 32d39a3 commit e54c7e0
Show file tree
Hide file tree
Showing 41 changed files with 2,912 additions and 240 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>11</source>
<target>11</target>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/idsia/crema/core/ObservationBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private ObservationBuilder(int[] keys, int[] values) {
public static int[] getVariables(TIntIntMap[] obs) {
int[] variables = new int[]{};
for (TIntIntMap o : obs)
variables = ArraysUtil.unionSet(variables, o.keys());
variables = ArraysUtil.union_unsorted_set(variables, o.keys());
return variables;
}

Expand Down
6 changes: 6 additions & 0 deletions src/main/java/ch/idsia/crema/core/StridedDomain.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package ch.idsia.crema.core;

public interface StridedDomain extends Domain {
int getStride(int variable);
int getStrideAt(int offset);
}
Loading

0 comments on commit e54c7e0

Please sign in to comment.