readMWCSgraph | R Documentation |
The SteinLib resource provides a reference collection of Steiner Tree problems and solutions. Very useful for validation. This function allows you to read in graphs relating to maximum-weight connected subgraph problems.
readMWCSgraph(MWCSstpFile)
MWCSstpFile |
The URI of the Steiner problem in SteinLib format |
steinerProblem An igraph object with vertex names and a per vertex flag 'isTerminal' which specifies if a node is a terminal or not. Note that upon creation of the igraph object, node names (as defined in the STP file) and nodeIDs (as produced by igraph).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.