Show / Hide Table of Contents

Class TypedAdjacencyMatrix

Provides a list of nodes and edges that connect those nodes to form a graph of a set of IVersionable items. In addition to each node's identifier, each node indicates its item type.

Inheritance
object
TypedAdjacencyMatrix
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
[DataContract(Namespace = "http://ns.colectica.com/2009/07/")]
public class TypedAdjacencyMatrix

Properties

Edges

Gets the edges of the graph.

Declaration
public Collection<TypedRelationship> Edges { get; }
Property Value
Type Description
Collection<TypedRelationship>

Predicate

Gets or sets the relationship predicate to be followed to form the set. See RelationshipPredicates.

Declaration
[DataMember]
public Guid Predicate { get; set; }
Property Value
Type Description
Guid

ReverseTraversal

Gets or sets a value indicating whether the set is defined as all items under the root items, or all items that contain the target item in their set.

Declaration
[DataMember]
public bool ReverseTraversal { get; set; }
Property Value
Type Description
bool

Roots

Gets the identifiers of the root items that define the set.

Declaration
public Collection<IdentifierTriple> Roots { get; }
Property Value
Type Description
Collection<IdentifierTriple>

Methods

GetSet(IdentifierTriple)

Gets the set of all items.

Declaration
public HashSet<TypedIdTriple> GetSet(IdentifierTriple root)
Parameters
Type Name Description
IdentifierTriple root

The root.

Returns
Type Description
HashSet<TypedIdTriple>

GetSetList(IdentifierTriple)

Gets a list of identifiers of all items in the set.

Declaration
public Collection<TypedIdTriple> GetSetList(IdentifierTriple root)
Parameters
Type Name Description
IdentifierTriple root

The root of the set.

Returns
Type Description
Collection<TypedIdTriple>

A list of all items in the set.

Extension Methods

Extensions.Yield<T>(T)
In this article
Back to top Generated by DocFX