T
- a type of elements in vertices of the topology graph@FunctionalInterface public interface Topology<T extends java.io.Serializable> extends java.util.function.Function<java.util.Set<T>,org.jgrapht.Graph<T,AnnotatedEdge>>
Topology function builds a topology graph from the given set of elements.
Modifier and Type | Method and Description |
---|---|
static <R extends java.io.Serializable> |
bidirectionalRing()
Creates a new bidirectional ring topology.
|
static <R extends java.io.Serializable> |
fullMesh()
Creates a new full mesh topology.
|
default java.lang.String |
name()
Returns the name of the topology.
|
static <R extends java.io.Serializable> |
unidirectionalRing()
Creates a new unidirectional ring topology.
|
static <R extends java.io.Serializable> Topology<R> unidirectionalRing()
Creates a new unidirectional ring topology.
UniRingTopology
static <R extends java.io.Serializable> Topology<R> bidirectionalRing()
Creates a new bidirectional ring topology.
BiRingTopology
static <R extends java.io.Serializable> Topology<R> fullMesh()
Creates a new full mesh topology.
FullMeshTopology
default java.lang.String name()
Returns the name of the topology.