GrGen.NET v4.4 API: the libGr class library (the type exact interface gets generated)
LGSPEdge Class
Class implementing edges in the libGr search plan backend
Declaration Syntax
C#
public abstract class LGSPEdge : IEdge, 
	IGraphElement
Members
All MembersConstructorsMethodsPropertiesFields



IconMemberDescription
LGSPEdge(EdgeType, LGSPNode, LGSPNode)
Instantiates an LGSPEdge object.

ApplyFunctionMethod(IActionExecutionEnvironment, IGraph, String, array<Object>[]()[][])
Executes the function method given by its name. Throws an exception if the method does not exists or the parameters are of wrong types.

ApplyProcedureMethod(IActionExecutionEnvironment, IGraph, String, array<Object>[]()[][])
Executes the procedure method given by its name. Throws an exception if the method does not exists or the parameters are of wrong types.

AreAttributesEqual(IGraphElement)
Returns whether the attributes of this element and that are equal. If types are unequal the result is false, otherwise the conjunction of equality comparison of the attributes.

Clone(INode, INode)
Creates a copy 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.

GetAttribute(String)
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.

GetUniqueId()()()()
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).

InstanceOf(GrGenType)
Returns true, if the graph element is compatible to the given type

lgspFlags
contains some booleans coded as bitvector

lgspInNext
previous and next edge in the incoming list of the target node containing all of it's incoming edges

lgspInPrev
previous and next edge in the incoming list of the target node containing all of it's incoming edges

lgspOutNext
previous and next edge in the outgoing list of the source node containing all of it's outgoing edges

lgspOutPrev
previous and next edge in the outgoing list of the source node containing all of it's outgoing edges

lgspSource
source and target nodes of this edge

lgspTarget
source and target nodes of this edge

lgspType
The EdgeType of the edge.

lgspTypeNext
Previous and next edge in the list containing all the edges of one type. The node is not part of a graph, iff typePrev is null. If typePrev is null and typeNext is not null, this node has been retyped and typeNext points to the new node. These special cases are neccessary to handle the following situations: "delete node + return edge", "hom + delete + return", "hom + retype + return", "hom + retype + delete", "hom + retype + delete + return".

lgspTypePrev
Previous and next edge in the list containing all the edges of one type. The node is not part of a graph, iff typePrev is null. If typePrev is null and typeNext is not null, this node has been retyped and typeNext points to the new node. These special cases are neccessary to handle the following situations: "delete node + return edge", "hom + delete + return", "hom + retype + return", "hom + retype + delete", "hom + retype + delete + return".

Opposite(INode)
Retrieves the other incident node of this edge.

Recycle()()()()
Recycles this edge. This may pool the edge or just ignore it.

ReplacedByEdge
The edge which replaced this edge (Valid is false in this case) or null, if this edge has not been replaced or is still a valid member of a graph.

ReplacedByElement
The element which replaced this element (Valid is false in this case) or null, if this element has not been replaced or is still a valid member of a graph.

ResetAllAttributes()()()()
Resets all graph element attributes to their initial values.

SetAttribute(String, Object)
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.

SetSourceAndTarget(LGSPNode, LGSPNode)
Sets source and target to the LGSPEdge object instantiated before with source and target being null.

Source
The source node of the edge.

Target
The target node of the edge.

ToString()()()()
Returns the name of the type of this edge.
(Overrides Object.ToString()()()().)
Type
The EdgeType of the edge.

uniqueId
contains a unique id if uniqueness was declared

Valid
This is true, if this edge is a valid graph element, i.e. it is part of a graph.

Inheritance Hierarchy

Assembly: lgspBackend (Module: lgspBackend) Version: 4.4.0.0 (4.4.0.0)