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



IconMemberDescription
LGSPNode(NodeType)
Instantiates an LGSPNode 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()()()()
Creates a copy of this node. All attributes will be transfered to the new node. The node will not be associated to a graph, yet. So it will not have any incident edges nor 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.

GetCompatibleIncident(EdgeType)
Returns an IEnumerable<IEdge> over all incident edges with the same type or a subtype of the given type

GetCompatibleIncoming(EdgeType)
Returns an IEnumerable<IEdge> over all incoming edges with the same type or a subtype of the given type

GetCompatibleOutgoing(EdgeType)
Returns an IEnumerable<IEdge> over all outgoing edges with the same type or a subtype of the given type

GetExactIncident(EdgeType)
Returns an IEnumerable<IEdge> over all incident edges with exactly the given type

GetExactIncoming(EdgeType)
Returns an IEnumerable<IEdge> over all incoming edges with exactly the given type

GetExactOutgoing(EdgeType)
Returns an IEnumerable<IEdge> over all outgoing edges with exactly the given type

GetUniqueId()()()()
Gets the unique id of the node. 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).

Incident
Returns an IEnumerable<IEdge> over all incident edges

Incoming
Returns an IEnumerable<IEdge> over all incoming edges

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

lgspFlags
contains some booleans coded as bitvector

lgspInhead
Entry node into the incoming edges list - not of type edge head, real edge or null

lgspOuthead
Entry node into the outgoing edges list - not of type edge head, real edge or null

lgspType
The node type of the node.

lgspTypeNext
Previous and next node in the list containing all the nodes 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 node in the list containing all the nodes 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".

MoveInHeadAfter(LGSPEdge)
Moves the head of the incoming list after the given edge. Part of the "list trick".

MoveOutHeadAfter(LGSPEdge)
Moves the head of the outgoing list after the given edge. Part of the "list trick".

Outgoing
Returns an IEnumerable<IEdge> over all outgoing edges

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

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.

ReplacedByNode
The node which replaced this node (Valid is false in this case) or null, if this node 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.

ToString()()()()
Returns the name of the type of this node.
(Overrides Object.ToString()()()().)
Type
The NodeType of the node.

uniqueId
contains a unique id if uniqueness was declared

Valid
This is true, if this node 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)