Class GraphSizeComparer
A Comparer for Graphs which compares based on number of Triples.
Inherited Members
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
| Edit this page 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 |
---|---|
int |