ExcludeSelfEdges

public struct ExcludeSelfEdges<Graph> : EdgeFilterProtocol, DefaultInitializable where Graph : IncidenceGraph

A filter that excludes edges whose source and destiation is the same.

  • Undocumented

    Declaration

    Swift

    public init()
  • Returns true if edge should be excluded from a filtered representation of graph.

    Declaration

    Swift

    public func excludeEdge(_ edge: Graph.EdgeId, _ graph: Graph) -> Bool