Show / Hide Table of Contents

Class GraphSizeComparer

A Comparer for Graphs which compares based on number of Triples.

Inheritance
object
GraphSizeComparer
Implements
IComparer<IGraph>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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

| Edit this page View Source

Compare(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

Implements

IComparer<T>

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Methods
    • Compare(IGraph, IGraph)
  • Implements
  • Extension Methods
Back to top Generated by DocFX