NetworkX

Previous topic

networkx.DiGraphMatcher.syntactic_feasibility

Next topic

networkx.WeightedGraphMatcher.initialize

networkx.WeightedGraphMatcher.__init__

WeightedGraphMatcher.__init__(G1, G2, rtol=9.9999999999999995e-07, atol=1.0000000000000001e-09)

Initialize WeightedGraphMatcher.

Parameters:

G1, G2 : nx.Graph instances

G1 and G2 must be weighted graphs.

rtol : float, optional

The relative tolerance used to compare weights.

atol : float, optional

The absolute tolerance used to compare weights.