Class GraphSizeComparer
A Comparer for Graphs which compares based on number of Triples.
Inheritance
System.Object
GraphSizeComparer
Implements
System.Collections.Generic.IComparer<IGraph>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRDF.dll
Syntax
public class GraphSizeComparer : IComparer<IGraph>
Remarks
Used internally in computing Graph Differences but made a public Graph as it may occasionally come in useful.
Methods
| Improve this Doc View SourceCompare(IGraph, IGraph)
Compares Graphs based on their number of Triples.
Declaration
public int Compare(IGraph x, IGraph y)
Parameters
Type | Name | Description |
---|---|---|
IGraph | x | Graph. |
IGraph | y | Graph. |
Returns
Type | Description |
---|---|
System.Int32 |
Implements
System.Collections.Generic.IComparer<T>