Packages

object Convert

The Convert object is used to convert between an Adjacency Matrix representation to an Adjacency Sets representation.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Convert
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def graph2Matrix(gr: Graph, sparse: Boolean = false): MatriI

    Convert the graph from an Adjacency Sets representation to an Adjacency Matrix representation.

  2. def matrix2Graph(mat: MatriI): Graph

    Convert the graph from an Adjacency Matrix representation to an Adjacency Sets representation.

    Convert the graph from an Adjacency Matrix representation to an Adjacency Sets representation.

    mat

    the Adjacency Matrix representation of a graph