Show / Hide Table of Contents

Class PartitionHelpers

Helpers to work with Partition<TVertex>.

Inheritance
System.Object
PartitionHelpers
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: QuikGraph.Algorithms.GraphPartition
Assembly: QuikGraph.dll
Syntax
public static class PartitionHelpers

Methods

| Improve this Doc View Source

AreEquivalent<TVertex>(Partition<TVertex>, Partition<TVertex>)

Checks if both partitions are equals or equivalent.

Declaration
public static bool AreEquivalent<TVertex>(Partition<TVertex> partition1, Partition<TVertex> partition2)
Parameters
Type Name Description
Partition<TVertex> partition1

First partition.

Partition<TVertex> partition2

Second partition.

Returns
Type Description
System.Boolean

True if both partitions are at least equivalent, false otherwise.

Type Parameters
Name Description
TVertex

Vertex type.

  • Improve this Doc
  • View Source
In This Article
Back to top QuikGraph