- Type Parameters:
V- the graph vertices typeE- the graph edge type
- All Known Implementing Classes:
KouMarkowskyBermanAlgorithm
public interface SteinerTreeAlgorithm<V,E>
An algorithm which computes a
Steiner tree of a given graph. A
Steiner tree is a tree that connects a given set of vertices (called Steiner points or terminals)
with minimum total weight, possibly using additional vertices not in the original set.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA Steiner tree.static classDefault implementation of the Steiner tree interface. -
Method Summary
-
Method Details
-
getSteinerTree
Computes a Steiner tree.- Parameters:
steinerPoints- the set of vertices (terminals) that must be connected by the Steiner tree- Returns:
- a Steiner tree connecting all the specified vertices
-