Sage Modeling and Simulation Library

Ligature Methods

The Ligature type exposes the following members.

Methods


  Name Description
Protected method _PopulateClone
Populates the clone, adding clones of its children, and the edges relating them to the clone of this edge.
(Inherited from Edge.)
Public method Accept
Accepts a visitor, subsequently calling the visitor's Visit(this) method. See the Visitor design pattern for details.
(Inherited from Edge.)
Public method AddChainOfChildren
This method takes a list of edges, and first creates a chain out of them, and then adds that chain as a set of child tasks. Note that a restriction is that the edge to which these edges are being added cannot already have children assigned to it.
(Inherited from Edge.)
Public method AddChildEdge
Adds the child edge as a child to this edge. It will be attached at its pre-vertex to this one's pre-vertex, and at its post-vertex to this one's post-vertex. Any further sequencing between the provided edge and other edges is governed by otherwise-defined ligatures, synchronizers, etc.
(Inherited from Edge.)
Public method AddChildEdges
Adds the list of child edges as children to this edge. They are treated as equals, all attached at their pre-vertices to this one's pre-vertex, and at their post-vertices to this one's post-vertex. Any further sequencing between them is governed by otherwise-defined ligatures, synchronizers, etc.
(Inherited from Edge.)
Public method AddCofinish
Adds the slave Edge as a CoFinish. A CoFinish exists when a master edge's postVertex is not permitted to fire until the slave edge has completed. Thus, the master edge's postvertex will not be allowed to fire until the slave edge's postvertex has fired.
(Inherited from Edge.)
Public method AddCostart
Adds the slave Edge as a CoStart. A CoStart is an edge that is allowed to start as soon as this edge has started. Thus, the slave edge's prevertex will not be allowed to fire until this edge's prevertex has fired.
(Inherited from Edge.)
Public method AddPredecessor
Creates a Ligature between the provided edge's postVertex and this one's PreVertex, making the provided edge a predecessor to this one. This API also interacts with a ValidationService to enable it to correctly manage graph validity state.
(Inherited from Edge.)
Public method AddSuccessor
Creates a Ligature between the provided edge's preVertex and this one's postVertex, making the provided edge a successor to this one. This API also interacts with a ValidationService to enable it to correctly manage graph validity state.
(Inherited from Edge.)
Public method Clone
Creates a new object that is a copy of the current instance. This is not supported for ligatures.
Public method Static member CreateName(Edge, Edge)
Creates a name for this ligature based on the names of the from and to edges.
Public method Static member CreateName(Vertex, Vertex)
Creates a name for this ligature based on the names of the from and to vertices.
Protected method CreateVertices
Creates the pre and post vertices for this edge, providing them with default names and connecting them to this edge.
Public method DeserializeFrom
Reconstitutes this object from the specified XmlSerializationContext.
(Inherited from Edge.)
Public method Disconnect
Disconnects this instance from any parent edges, predecessors and successors. Child edges are left attached.
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetChildren
Gets the children (from a perspective of validity) of the implementer.
(Inherited from Edge.)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetParent
Gets the parent edge to this one. If the graph is not hierarchical, this will be null.
(Inherited from Edge.)
Public method GetSuccessors
Gets the successors (from a perspective of validity) of the implementer.
(Inherited from Edge.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetVertex
Gets the pre- or post-vertex of this edge..
(Inherited from Edge.)
Protected method InitializeStructuralChangeHandlers
Initializes the structural change handlers - GainedPredecessorEvent, GainedSuccessorEvent, LostPredecessorEvent, and LostSuccessorEvent.
Public method InsertBetween
Inserts this edge between the two provided edges. This is done by calling [T:Edge#AddSuccessor] for this edge on the preEdge, and [T:Edge#AddPredecessor] for this edge on the postEdge.
(Inherited from Edge.)
Public method IsRunning
Determines whether the specified graph context is running.
(Inherited from Edge.)
Public method Join
This edge will immediately suspend execution until the otherEdge completes.
(Inherited from Edge.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method NotifyOverallValidityChange
Called by the ValidationService upon an overall validity change.
(Inherited from Edge.)
Protected method OnExecutionComplete
Called when execution of this edge is complete.
(Inherited from Edge.)
Public method PreVertexSatisfied
Called by the pre-vertex when it has been satisfied - that is, all incoming edges and synchronizers to that vertex have fired.
Public method RemoveChildEdge
Removes the child edge, and the ligatures that establish it as a child (i.e. between the parent's pre-vertex and this one's pre-vertex, and the parent's post-vertex and this one's post-vertex.)
(Inherited from Edge.)
Public method RemoveChildEdges
Removes the child edges, and the ligatures that establish them as children (i.e. between the parent's pre-vertex and their pre-vertices, and the parent's post-vertex and their post-vertices.)
(Inherited from Edge.)
Public method RemoveCofinish
Removes a cofinish relationship between this edge and the provided slave edge, if such exists.
(Inherited from Edge.)
Public method RemoveCostart
Removes a costart relationship between this edge and the provided slave edge, if such exists.
(Inherited from Edge.)
Public method RemovePredecessor
Either removes a Ligature between the provided edge's postVertex and this one's PreVertex, removing the provided edge as a predecessor to this one. If the provided edge is a Ligature, then the ligature itself is disconnected from this edge. This API also interacts with a ValidationService to enable it to correctly manage graph validity state.
(Inherited from Edge.)
Public method RemoveSuccessor
Either removes a Ligature between the provided edge's preVertex and this one's PostVertex, removing the provided edge as a successor to this one. If the provided edge is a Ligature, then the ligature itself is disconnected from this edge. This API also interacts with a ValidationService to enable it to correctly manage graph validity state.
(Inherited from Edge.)
Public method SerializeTo
Stores this object to the specified XmlSerializationContext.
(Inherited from Edge.)
Public method Start()()()()
Begins execution of the graph under this edge using a default GraphContext. Start
(Inherited from Edge.)
Public method Start(IDictionary)
Begins execution of the graph under the specified graph context.
(Inherited from Edge.)
Public method ToString
Returns a String that represents the current Edge.
(Inherited from Edge.)
Public method Yield
Gives up the execution thread temporarily to any awaiting edges. This edge will be called to resume execution later in this same timeslice.
(Inherited from Edge.)