public class SteinerTree
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
SteinerTree.SteinerTreePort
Interface to define a point in the Steiner Tree that needs to be organized properly.
|
static class |
SteinerTree.SteinerTreePortPair
Class that defines a branch of the Steiner Tree, with two SteinerTreePort objects.
|
Constructor and Description |
---|
SteinerTree(java.util.List<SteinerTree.SteinerTreePort> portList,
boolean disableAdvancedCode)
Constructor takes a list of
|
Modifier and Type | Method and Description |
---|---|
java.util.List<SteinerTree.SteinerTreePortPair> |
getTreeBranches()
Method to return the Steiner Tree.
|
static boolean |
hasMST()
Method to tell whether Minimum Spanning Tree code is available.
|
public SteinerTree(java.util.List<SteinerTree.SteinerTreePort> portList, boolean disableAdvancedCode)
portList
- a List of SteinerTreePort objects that are to be organized into a Steiner Tree.disableAdvancedCode
- true to ignore private, advanced code for this.public java.util.List<SteinerTree.SteinerTreePortPair> getTreeBranches()
public static boolean hasMST()