NetworkX

Previous topic

networkx.WeightedMultiGraphMatcher.syntactic_feasibility

Next topic

networkx.WeightedMultiDiGraphMatcher.initialize

networkx.WeightedMultiDiGraphMatcher.__init__

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

Initialize WeightedGraphMatcher.

Parameters :

G1, G2 : nx.MultiDiGraph 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.