Click or drag to resize

LGSPEdge Methods

The LGSPEdge type exposes the following members.

Methods
 NameDescription
Public methodApplyFunctionMethod Executes the function method given by its name. Throws an exception if the method does not exists or the parameters are of wrong types.
Public methodApplyProcedureMethod Executes the procedure method given by its name. Throws an exception if the method does not exists or the parameters are of wrong types.
Public methodClone Creates a shallow clone of this edge. All attributes will be transfered to the new edge. The edge will not be associated to a graph, yet. So it will not have any assigned variables.
Public methodCopy Creates a deep copy of this edge (i.e. (transient) class objects will be replicated). All attributes will be transfered to the new edge. The edge will not be associated to a graph, yet. So it will not have any assigned variables.
Public methodGetAttribute Returns the graph element attribute with the given attribute name. If the graph element type doesn't have an attribute with this name, a NullReferenceException is thrown.
Public methodGetUniqueId Gets the unique id of the edge. Only available if unique ids for nodes and edges were declared in the model (or implicitely switched on by parallelization or the declaration of some index).
Public methodInstanceOf Returns true, if the typed object is compatible to the given type.
Public methodIsDeeplyEqual Returns whether this and that are deeply equal, which means the scalar attributes are equal, the container attributes are memberwise deeply equal, and object attributes are deeply equal. (If types are unequal the result is false.) Visited objects are/have to be stored in the visited objects dictionary in order to detect shortcuts and cycles.
Public methodOpposite Retrieves the other incident node of this edge.
Public methodRecycle Recycles this edge. This may pool the edge or just ignore it.
Public methodResetAllAttributes Resets all graph element attributes to their initial values.
Public methodSetAttribute Sets the graph element attribute with the given attribute name to the given value. If the graph element type doesn't have an attribute with this name, a NullReferenceException is thrown.
Public methodSetSourceAndTarget Sets source and target to the LGSPEdge object instantiated before with source and target being null.
Public methodToString Returns the name of the type of this edge.
(Overrides ObjectToString)
Top
See Also