public static void bloProc(GRGEN_LIBGR.IActionExecutionEnvironment actionEnv, GRGEN_LIBGR.IGraph graph, GRGEN_LIBGR.INode a, GRGEN_LIBGR.IEdge b, out GRGEN_MODEL.IN res) { res = ((GRGEN_MODEL.ExternalAttributeEvaluationGraph)graph).CreateNodeN(); }
public override GRGEN_LIBGR.IEdge CreateEdgeWithCopyCommons(GRGEN_LIBGR.INode source, GRGEN_LIBGR.INode target, GRGEN_LIBGR.IEdge oldIEdge) { return(new GRGEN_MODEL.@UEdge((GRGEN_LGSP.LGSPNode)source, (GRGEN_LGSP.LGSPNode)target)); }
public static GRGEN_MODEL.IN blo(GRGEN_LIBGR.IActionExecutionEnvironment actionEnv, GRGEN_LIBGR.IGraph graph, GRGEN_LIBGR.INode a, GRGEN_LIBGR.IEdge b, int threadId) { return(((GRGEN_MODEL.ExternalAttributeEvaluationGraph)graph).CreateNodeN()); }
public override GRGEN_LIBGR.IEdge CreateEdge(GRGEN_LIBGR.INode source, GRGEN_LIBGR.INode target) { return(new GRGEN_MODEL.@UEdge((GRGEN_LGSP.LGSPNode)source, (GRGEN_LGSP.LGSPNode)target)); }
public override void SetSourceAndTarget(GRGEN_LIBGR.IEdge edge, GRGEN_LIBGR.INode source, GRGEN_LIBGR.INode target) { ((GRGEN_LGSP.LGSPEdge)edge).SetSourceAndTarget((GRGEN_LGSP.LGSPNode)source, (GRGEN_LGSP.LGSPNode)target); }
public override GRGEN_LIBGR.IEdge CreateEdgeWithCopyCommons(GRGEN_LIBGR.INode source, GRGEN_LIBGR.INode target, GRGEN_LIBGR.IEdge oldIEdge) { throw new Exception("Cannot retype to the abstract type AEdge!"); }
public override GRGEN_LIBGR.IEdge Clone(GRGEN_LIBGR.INode newSource, GRGEN_LIBGR.INode newTarget) { return(new GRGEN_MODEL.@UEdge(this, (GRGEN_LGSP.LGSPNode)newSource, (GRGEN_LGSP.LGSPNode)newTarget)); }
public override void SetSourceAndTarget(GRGEN_LIBGR.IEdge edge, GRGEN_LIBGR.INode source, GRGEN_LIBGR.INode target) { throw new Exception("The abstract edge type AEdge does not support source and target setting!"); }
public override GRGEN_LIBGR.IEdge CreateEdge(GRGEN_LIBGR.INode source, GRGEN_LIBGR.INode target) { throw new Exception("The abstract edge type AEdge cannot be instantiated!"); }
public override GRGEN_LIBGR.INode CreateNodeWithCopyCommons(GRGEN_LIBGR.INode oldINode) { return(new GRGEN_MODEL.@Node()); }
public static bool ApplyXGRS_createEdge(GRGEN_LGSP.LGSPGraphProcessingEnvironment procEnv, GRGEN_LIBGR.INode var_n1, GRGEN_LIBGR.INode var_n2, ref GRGEN_LIBGR.IEdge var_e) { // it is recommended to create an edge as in the function below, immediately adding it to the graph // then you must work with LGSPNodes, casting the INodes you receive as parameters to that concrete type (inheriting from INode) var_e = GRGEN_MODEL.E.TypeInstance.CreateEdge(var_n1, var_n2); procEnv.graph.AddEdge(var_e); return(true); }
public static bool ApplyXGRS_blo(GRGEN_LGSP.LGSPGraphProcessingEnvironment procEnv, GRGEN_LIBGR.INode var_v1, GRGEN_LIBGR.IEdge var_v2, ref GRGEN_LIBGR.INode var_r1, ref GRGEN_LIBGR.IEdge var_r2) { var_r1 = var_v1; var_r2 = var_v2; return(true); }