Skip to content
Snippets Groups Projects
Unverified Commit 52974137 authored by wangyingjian's avatar wangyingjian Committed by GitHub
Browse files

Update Constraints.jrag

parent 5f33c44b
No related branches found
No related tags found
No related merge requests found
......@@ -34,12 +34,6 @@ aspect Connectives{
eq Equal.eval(){
return this.getLeft().eval() - this.getRight().eval()==0;
}
eq SelfEq.eval(){//has smallest disk on top
return this.getTerm().eval()==1;
}
eq SelfComp.eval(){//has no disk on top
return this.getTerm().eval()<0;
}
public double Term.eval(){
return 0;
}
......@@ -67,4 +61,4 @@ aspect Connectives{
String[] str=new String[]{};
return str;
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment