Show / Hide Table of Contents

Class GraphSizeComparer

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

Inheritance
System.Object
GraphSizeComparer
Implements
System.Collections.Generic.IComparer<T><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

| Improve this Doc 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
Remarks

Used internally in computing Graph Differences but made a public Graph as it may occasionally come in useful.

Implements

System.Collections.Generic.IComparer<T>

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • Compare(IGraph, IGraph)
  • Implements
  • Extension Methods
Back to top Generated by DocFX