CGL::AbstractGraph(V)
Inherits CGL::AnyGraph / Reference / Object
Instance methods
density
Returns the density of self.
Self loops are counted in the total number of edges so graphs with self loops can have density higher than 1.
Returns the incoming degree of the given vertex v.
For undirected graphs, the value equals #degree_of.