public final class Utils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<TypeVertex extends java.lang.Comparable<TypeVertex>> |
completeGraph(GraphSimple<TypeVertex> gr)
Create a complete graph between existing vertices.
|
static Utils |
getInstance()
Get an instance of class Utils.
|
public static Utils getInstance()
public <TypeVertex extends java.lang.Comparable<TypeVertex>> void completeGraph(GraphSimple<TypeVertex> gr)
TypeVertex
- The type of values stored in the vertices. Must be a Comparable type.gr
- The graph to modify.