Click or drag to resize

LinkGraph Class

A graph of links (IServiceProvider instances providing ILinkService) represented as an adjacency list.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.AccessLinkGraph

Namespace:  AGI.Foundation.Access
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public class LinkGraph

The LinkGraph type exposes the following members.

Constructors
  NameDescription
Public methodLinkGraph
Initializes a new instance.
Top
Methods
  NameDescription
Public methodAddLink
Adds a link to the graph.
Public methodContains
Determines whether the given link is in the graph.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindAllLinksAtNode
Find all the links which contain the given node and are in the correct direction.
Public methodFindAllPaths(IServiceProvider, IServiceProvider, LinkGraphDirection)
Finds all paths between two objects. The first returned path is the shortest and successive paths are arranged in increasing order of distance.
Public methodFindAllPaths(IServiceProvider, IServiceProvider, LinkGraphDirection, Int32)
Finds all paths between two objects. The first returned path is the shortest and successive paths are arranged in increasing order of distance.
Public methodFindShortestPath
Finds the shortest path between an initial object and a final object.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also