NetworkX

Previous topic

networkx.WeightedGraphMatcher.syntactic_feasibility

Next topic

networkx.WeightedDiGraphMatcher.initialize

networkx.WeightedDiGraphMatcher.__init__

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

Initialize WeightedGraphMatcher.

Parameters :

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