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
ifedge
should be excluded from a filtered representation ofgraph
.Declaration
Swift
public func excludeEdge(_ edge: Graph.EdgeId, _ graph: Graph) -> Bool