GraphMetrics

scalation.database.graph_pm.GraphMetrics
See theGraphMetrics companion class
object GraphMetrics

The GraphMetrics companion object provides basic statistics about graphs.

Attributes

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

Members list

Value members

Concrete methods

def stats(g: Graph): Seq[AnyVal]

Return basic statistics about graph g, currently (1) number of vertices, (2) number of edges, and (3) average out-degree.

Return basic statistics about graph g, currently (1) number of vertices, (2) number of edges, and (3) average out-degree.

Value parameters

g

the given graph

Attributes