Click or drag to resize

IGraphModelArrayKeepOneForEach Method

Keeps the array members with distinct values in the given member / removes duplicates. The array must be of node or edge type, i.e. of a graph element type of this model object.

Namespace: de.unika.ipd.grGen.libGr
Assembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntax
C#
IList ArrayKeepOneForEach(
	IList array,
	string member
)

Parameters

array  IList
The array to remove duplicates from
member  String
The member to check for duplicates

Return Value

IList
The array freed from duplicates in the member or null if the array was not processed because the array did not contain one of the known nodes/edges or the member attribute was not known.
See Also