chemicalchecker.util.network.network.SNAPNetwork

class SNAPNetwork(network)[source]

Bases: object

SNAPNetwork class.

Network representation with SNAP. Single type of node, single type of edge.

Initialize a SNAPNetwork instance.

Methods

edges

from_file

has_edge

neighbors

nodes

out_degree

print_edges

print_nodes

save

stats_toJSON