]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.modeling/src/org/simantics/modeling/scl/GraphRelation.java
Implemented GraphPropertyRelation with the new CHR implementation
[simantics/platform.git] / bundles / org.simantics.modeling / src / org / simantics / modeling / scl / GraphRelation.java
index 625a073845a0cdee11babdaf68d9c5ca46a085ae..da08a2a38d2087d7993eca98991bd1316f2ad730 100644 (file)
@@ -138,7 +138,7 @@ public class GraphRelation implements SCLRelation {
 
     @Override
     public void generateIterate(PlanContext context, CodeWriter w, long location, int boundMask, Variable[] variables,
-            Expression[] expressions) {
+            Expression[] expressions, Expression[] typeConstraintEvidenceParameters) {
         Environment env = context.context.environment;
         switch(boundMask) {
         case BF:
@@ -174,7 +174,8 @@ public class GraphRelation implements SCLRelation {
     }
 
     @Override
-    public void generateEnforce(PlanContext context, CodeWriter w, long location, Expression[] parameters) {
+    public void generateEnforce(PlanContext context, CodeWriter w, long location, Expression[] parameters,
+            Expression[] typeConstraintEvidenceParameters) {
         Environment env = context.context.environment;
         w.apply(location,
                 env.getValue(CLAIM).getValue(),