run :: String -> ()\r
saveIC :: Variable -> String -> <WriteGraph> Maybe Resource\r
assignIC :: Variable -> String -> <WriteGraph> ()\r
+ deassignIC :: Variable -> <WriteGraph> ()\r
applyIC :: Variable -> String -> <WriteGraph> ()\r
deleteIC :: Variable -> String -> <WriteGraph> ()\r
\r
graph.claim(exp, SYSDYN.Experiment_ic, ic);\r
\r
}\r
+ \r
+ public static void deassignIC(WriteGraph graph, Variable experiment) throws DatabaseException {\r
+\r
+ System.err.println("deassignIC " + experiment.getURI(graph));\r
+\r
+ Layer0 L0 = Layer0.getInstance(graph);\r
+ SysdynResource SYSDYN = SysdynResource.getInstance(graph);\r
+\r
+ Resource run = experiment.getPossibleRepresents(graph);\r
+ if(run == null) return;\r
+ Resource exp = graph.getPossibleObject(run, L0.PartOf);\r
+ if(exp == null) return;\r
+ \r
+ graph.deny(exp, SYSDYN.Experiment_ic);\r
+ \r
+ }\r
\r
public static void applyIC(WriteGraph graph, Variable experiment, String name) throws DatabaseException {\r
\r