[Lemon-user] Graph topology: degrees, clustering coefficient & path legth

Alpár Jüttner alpar at cs.elte.hu
Sat May 5 08:07:05 CEST 2012


On Fri, 2012-05-04 at 16:50 +1000, Bevan Koopman wrote:
> Hi,
> 
> Does Lemon support standard network topology features such as: i)
> degree distribution ii) clustering co-efficient and iii) average path
> length?

Not yet.

> Also, separate question. Node Ids are internal, I can't set then with a custom Id value?

The ids are strictly bound to the internal graph representations and you
can't change their value. If you need an own id, simply allocate a
Graph::NodeMap<> and fill it with your desired values. This also allows
you to use a non-integer value type such as std::string.

Regards,
Alpar




More information about the Lemon-user mailing list