Enum Graphs.TransitiveClosureSelfLoopStrategy

java.lang.Object
java.lang.Enum<Graphs.TransitiveClosureSelfLoopStrategy>
com.google.common.graph.Graphs.TransitiveClosureSelfLoopStrategy
All Implemented Interfaces:
Serializable, Comparable<Graphs.TransitiveClosureSelfLoopStrategy>, java.lang.constant.Constable
Enclosing class:
Graphs

A strategy for adding self-loops to the transitive closure graph. All strategies preserve self-loops that are present in the original graph.

The strategies differ based on how they define "cycle incident to a node".

Since:
33.6.0
Author:
James Sexton, Joshua O'Madadhain