MinSpanningTree

scalation.database.MinSpanningTree
See theMinSpanningTree companion class

The MinSpanningTree companion object provides factory methods for building Minimum Spanning Trees.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(adj: MatrixD, undirected: Boolean): MinSpanningTree

Create a Minimum Spanning Tree from a graph's an adjacent matrix representation.

Create a Minimum Spanning Tree from a graph's an adjacent matrix representation.

Value parameters

adj

the adjacent matrix representation of a digraph

undirected

whether the graph is already undirected

Attributes