Module Expr Str Import alias ImportFrom alias Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore NameLoad ClassDef bases body FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad CompareEq NameLoad BinOpDiv BinOpSub BinOpPow NameLoad BinOpAdd NameLoad Num Num BinOpSub NameLoad Num Expr Call NameLoad Call NameLoad NameLoad Expr Call NameLoad CompareEq Call AttributeLoad NameLoad attr BinOpSub NameLoad Num Assign NameStore Call NameLoad NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index Num Num Expr Call NameLoad SubscriptLoad NameLoad Index Num BinOpPow NameLoad NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad Num Expr Call NameLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num BinOpSub BinOpSub NameLoad BinOpPow NameLoad NameLoad Num Expr Call NameLoad Call NameLoad NameLoad BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num keyword Num Expr Call NameLoad Call NameLoad NameLoad Call NameLoad Num Assign NameStore Call NameLoad keyword Num keyword Num Expr Call NameLoad Call NameLoad NameLoad Call NameLoad Num Assign NameStore Call NameLoad keyword Num keyword Num Expr Call NameLoad Call NameLoad NameLoad Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index Num Num Expr Call NameLoad SubscriptLoad NameLoad Index Num Num Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad Num Expr Call NameLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num BinOpSub BinOpSub Num Num Num Expr Call NameLoad Call NameLoad NameLoad BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Num Assign NameStore Call NameLoad Num Num Expr Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Num Expr Call NameLoad Call NameLoad NameLoad Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Num Expr Call NameLoad Call NameLoad NameLoad Call NameLoad Num Assign NameStore Call NameLoad Num Num Expr Call NameLoad Call NameLoad NameLoad Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad CompareEq Call NameLoad NameLoad BinOpAdd BinOpMult Num NameLoad NameLoad Expr Call NameLoad CompareEq Call NameLoad NameLoad BinOpAdd BinOpAdd BinOpMult NameLoad BinOpSub NameLoad Num NameLoad Num Expr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad CompareEq Call NameLoad NameLoad BinOpAdd BinOpMult Num NameLoad NameLoad Expr Call NameLoad CompareEq Call NameLoad NameLoad BinOpAdd BinOpAdd BinOpMult NameLoad BinOpSub NameLoad Num NameLoad Num Expr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad CompareEq Call NameLoad NameLoad BinOpAdd BinOpMult Num NameLoad NameLoad Expr Call NameLoad CompareEq Call NameLoad NameLoad BinOpAdd BinOpAdd BinOpMult NameLoad BinOpSub NameLoad Num NameLoad Num Expr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Num Assign NameStore Num Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Num Assign NameStore Num Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad Call NameLoad BinOpAdd NameLoad Num Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad Call NameLoad BinOpAdd NameLoad Num Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad Call NameLoad BinOpAdd NameLoad Num Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad keyword Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword Call NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For NameStore ListLoad Num Num Num Num body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad CompareEq Call NameLoad NameLoad NameLoad Expr Call NameLoad CompareEq Call NameLoad NameLoad BinOpFloorDiv BinOpMult NameLoad BinOpSub NameLoad Num Num Assign NameStore Call NameLoad NameLoad keyword Call NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str Expr Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body For NameStore ListLoad Num Num Num Num body Assign NameStore Call NameLoad NameLoad keyword Call AttributeLoad NameLoad attr Expr Call NameLoad CompareEq Call NameLoad NameLoad NameLoad Expr Call NameLoad CompareEq Call NameLoad NameLoad BinOpMult NameLoad BinOpSub NameLoad Num Assign NameStore Call NameLoad Str keyword Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword Call NameLoad Assign NameStore Call NameLoad Num keyword Call NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num ListLoad Num Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num ListLoad Num Num Num Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num ListLoad Num Num Assign NameStore Call NameLoad Num Num Expr Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Assign NameStore Call NameLoad Num keyword Call NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Assign NameStore Call NameLoad Num keyword Call NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Str Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Num Expr Call NameLoad Call NameLoad NameLoad ListLoad Num Num Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call NameLoad Call AttributeLoad Call NameLoad NameLoad attr ListLoad Num Num Num Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Num Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword Call NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call NameLoad Call NameLoad NameLoad Num Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Num keyword Call NameLoad keyword Str Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Num keyword Call NameLoad keyword Str Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Num keyword NameLoad Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad AttributeLoad NameLoad attr Str Expr Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad BinOpMult NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad ListLoad Num Num Num BinOpSub BinOpMult Num BinOpAdd NameLoad NameLoad Num BinOpMult BinOpSub NameLoad Num BinOpSub NameLoad Num Assign NameStore Call NameLoad NameLoad NameLoad keyword Call NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad keyword Call NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str For TupleStore NameStore NameStore ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Assign NameStore ListLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad BinOpMult NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad ListLoad Num Num Num BinOpSub BinOpMult Num BinOpAdd NameLoad NameLoad Num BinOpMult BinOpSub NameLoad Num BinOpSub NameLoad Num Expr Call NameLoad NameLoad ListLoad NameLoad NameLoad For TupleStore NameStore NameStore ListLoad TupleLoad Num Num TupleLoad Num Num body Assign NameStore ListLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad BinOpMult NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad Call NameLoad Num Expr Call NameLoad NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad Call NameLoad Num Num Call NameLoad Num Num Expr Call NameLoad Call NameLoad NameLoad BinOpMult Num Num Expr Call NameLoad Call NameLoad NameLoad Call NameLoad ListLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore ListLoad TupleLoad Num Call NameLoad TupleLoad Num Call NameLoad Num TupleLoad Num Call NameLoad Num TupleLoad Num Call NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad NameLoad ListLoad Num Num Num Num Num Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad NameLoad ListLoad Num Num Num Num Num Num Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad NameLoad ListLoad Num Num Num Num Num Num Num decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore ListLoad TupleLoad Num Call NameLoad Num TupleLoad Num Call NameLoad Num TupleLoad Num Call NameLoad Num TupleLoad Num Call NameLoad ListLoad Num Num body Expr Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword Call NameLoad Assign NameStore Call NameLoad Num Assign NameStore Call NameLoad Num keyword Call NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad BinOpAdd NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad BinOpAdd BinOpDiv BinOpMult NameLoad BinOpSub NameLoad Num Num NameLoad Expr Call NameLoad AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Num For TupleStore NameStore NameStore ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad Call NameLoad BinOpAdd NameLoad Num Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad keyword Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad keyword Call NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Num Num Num Num Str Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call NameLoad Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad NameLoad Call NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad NameLoad Call NameLoad Num Expr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad NameLoad Expr Call NameLoad Call NameLoad GeneratorExp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Num Num Num Num Expr Call NameLoad BinOpSub Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num keyword Call NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Num Assign NameStore Call NameLoad Num keyword Call NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Str Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Num keyword NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Dict For TupleStore NameStore NameStore NameStore ListLoad TupleLoad Num Num Call NameLoad Num TupleLoad Num Num Call NameLoad Num TupleLoad Num Num Call NameLoad Num TupleLoad Num Num Call NameLoad Num TupleLoad Num Num Call NameLoad Num TupleLoad Num Num Call NameLoad TupleLoad Num Num Call NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad keyword NameLoad Expr Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Num Num keyword NameLoad keyword Call NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Num Num keyword NameLoad keyword Call NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Num Call NameLoad Num keyword NameLoad Expr Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Str Str keyword NameLoad Expr Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call NameLoad Call NameLoad Num Call NameLoad Num Expr Call NameLoad Call NameLoad Call NameLoad Num Call NameLoad Num Expr Call NameLoad Call NameLoad Call NameLoad Num Call NameLoad Num Expr Call NameLoad Call NameLoad Call NameLoad Num Call AttributeLoad NameLoad attr Num Num Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad GeneratorExp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Num Num Num Num Num Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword Call NameLoad Assign NameStore Call NameLoad Num keyword Call NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call NameLoad Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore ListLoad TupleLoad Num Call NameLoad TupleLoad Num Call NameLoad Num TupleLoad Num Call NameLoad Num TupleLoad Num Call NameLoad Num TupleLoad Num Call NameLoad Num body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Num Expr Call NameLoad Call NameLoad GeneratorExp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num Num Num Num Num Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num keyword Call NameLoad Assign NameStore Call NameLoad Num keyword Call NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Str Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore ListLoad TupleLoad Num Num TupleLoad Num Num Num TupleLoad Num Num Num Num For NameStore NameLoad body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Num body Expr Call NameLoad CompareNotIn NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Num body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call NameLoad CompareIn NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list decorator_list
N/A N/A 
====================
Generators - Classic
====================

Unit tests for various classic graph generators in generators/classic.py
 N/A itertools nose.tools * N/A networkx nx networkx * networkx.algorithms.isomorphism.isomorph graph_could_be_isomorphic networkx.testing assert_edges_equal networkx.testing assert_nodes_equal N/A is_isomorphic graph_could_be_isomorphic TestGeneratorClassic N/A N/A test_balanced_tree N/A N/A self N/A N/A N/A N/A r h N/A N/A 2 2 N/A 3 3 N/A 6 2 N/A N/A t N/A balanced_tree r h N/A order N/A N/A t order N/A N/A assert_true N/A order N/A N/A N/A r N/A h 1 1 N/A r 1 N/A N/A assert_true N/A is_connected t N/A N/A assert_true N/A N/A N/A t size N/A order 1 N/A dh N/A degree_histogram t N/A N/A assert_equal N/A dh N/A 0 0 N/A N/A assert_equal N/A dh N/A 1 N/A r h N/A N/A assert_equal N/A dh N/A r 1 N/A N/A assert_equal N/A dh N/A N/A r 1 N/A N/A order N/A r h 1 N/A N/A assert_equal N/A len dh N/A r 2 N/A test_balanced_tree_star N/A N/A self N/A N/A N/A t N/A balanced_tree r 2 h 1 N/A N/A assert_true N/A is_isomorphic t N/A star_graph 2 N/A t N/A balanced_tree r 5 h 1 N/A N/A assert_true N/A is_isomorphic t N/A star_graph 5 N/A t N/A balanced_tree r 10 h 1 N/A N/A assert_true N/A is_isomorphic t N/A star_graph 10 N/A test_balanced_tree_path N/A N/A self N/A N/A N/A Tests that the balanced tree with branching factor one is the
        path graph.

         N/A T N/A balanced_tree 1 4 N/A P N/A path_graph 5 N/A N/A assert_true N/A is_isomorphic T P N/A test_full_rary_tree N/A N/A self N/A N/A N/A r 2 N/A n 9 N/A t N/A full_rary_tree r n N/A N/A assert_equal N/A N/A t order n N/A N/A assert_true N/A is_connected t N/A dh N/A degree_histogram t N/A N/A assert_equal N/A dh N/A 0 0 N/A N/A assert_equal N/A dh N/A 1 5 N/A N/A assert_equal N/A dh N/A r 1 N/A N/A assert_equal N/A dh N/A N/A r 1 N/A N/A 9 5 1 N/A N/A assert_equal N/A len dh N/A r 2 N/A test_full_rary_tree_balanced N/A N/A self N/A N/A N/A t N/A full_rary_tree 2 15 N/A th N/A balanced_tree 2 3 N/A N/A assert_true N/A is_isomorphic t th N/A test_full_rary_tree_path N/A N/A self N/A N/A N/A t N/A full_rary_tree 1 10 N/A N/A assert_true N/A is_isomorphic t N/A path_graph 10 N/A test_full_rary_tree_empty N/A N/A self N/A N/A N/A t N/A full_rary_tree 0 10 N/A N/A assert_true N/A is_isomorphic t N/A empty_graph 10 N/A t N/A full_rary_tree 3 0 N/A N/A assert_true N/A is_isomorphic t N/A empty_graph 0 N/A test_full_rary_tree_3_20 N/A N/A self N/A N/A N/A t N/A full_rary_tree 3 20 N/A N/A assert_equal N/A N/A t order 20 N/A test_barbell_graph N/A N/A self N/A N/A N/A m1 3 N/A m2 5 N/A b N/A barbell_graph m1 m2 N/A N/A assert_true N/A N/A number_of_nodes b N/A N/A 2 m1 m2 N/A N/A assert_true N/A N/A number_of_edges b N/A N/A N/A m1 N/A m1 1 m2 1 N/A N/A assert_equal N/A b name barbell_graph(3,5) N/A m1 4 N/A m2 10 N/A b N/A barbell_graph m1 m2 N/A N/A assert_true N/A N/A number_of_nodes b N/A N/A 2 m1 m2 N/A N/A assert_true N/A N/A number_of_edges b N/A N/A N/A m1 N/A m1 1 m2 1 N/A N/A assert_equal N/A b name barbell_graph(4,10) N/A m1 3 N/A m2 20 N/A b N/A barbell_graph m1 m2 N/A N/A assert_true N/A N/A number_of_nodes b N/A N/A 2 m1 m2 N/A N/A assert_true N/A N/A number_of_edges b N/A N/A N/A m1 N/A m1 1 m2 1 N/A N/A assert_equal N/A b name barbell_graph(3,20) N/A m1 1 N/A m2 20 N/A N/A assert_raises N/A N/A networkx exception NetworkXError barbell_graph m1 m2 N/A m1 5 N/A m2 -2 N/A N/A assert_raises N/A N/A networkx exception NetworkXError barbell_graph m1 m2 N/A m1 2 N/A m2 5 N/A b N/A barbell_graph m1 m2 N/A N/A assert_true N/A is_isomorphic b N/A path_graph N/A m2 4 N/A m1 2 N/A m2 10 N/A b N/A barbell_graph m1 m2 N/A N/A assert_true N/A is_isomorphic b N/A path_graph N/A m2 4 N/A m1 2 N/A m2 20 N/A b N/A barbell_graph m1 m2 N/A N/A assert_true N/A is_isomorphic b N/A path_graph N/A m2 4 N/A N/A assert_raises N/A N/A networkx exception NetworkXError barbell_graph m1 m2 create_using N/A DiGraph N/A mb N/A barbell_graph m1 m2 create_using N/A MultiGraph N/A N/A assert_equal N/A sorted N/A N/A mb edges N/A sorted N/A N/A b edges N/A test_complete_graph N/A N/A self N/A N/A N/A m N/A 0 1 3 5 N/A N/A g N/A complete_graph m N/A N/A assert_true N/A N/A number_of_nodes g m N/A N/A assert_true N/A N/A number_of_edges g N/A N/A m N/A m 1 2 N/A mg N/A complete_graph m create_using N/A MultiGraph N/A N/A assert_equal N/A sorted N/A N/A mg edges N/A sorted N/A N/A g edges N/A g N/A complete_graph abc N/A N/A assert_equal N/A sorted N/A N/A g nodes N/A a b c N/A N/A assert_equal N/A N/A g size 3 N/A test_complete_digraph N/A N/A self N/A N/A N/A m N/A 0 1 3 5 N/A N/A g N/A complete_graph m create_using N/A N/A nx DiGraph N/A N/A assert_true N/A N/A number_of_nodes g m N/A N/A assert_true N/A N/A number_of_edges g N/A m N/A m 1 N/A g N/A complete_graph abc create_using N/A N/A nx DiGraph N/A N/A assert_equal N/A len g 3 N/A N/A assert_equal N/A N/A g size 6 N/A N/A assert_true N/A N/A g is_directed N/A test_circular_ladder_graph N/A N/A self N/A N/A N/A G N/A circular_ladder_graph 5 N/A N/A assert_raises N/A N/A networkx exception NetworkXError circular_ladder_graph 5 create_using N/A DiGraph N/A mG N/A circular_ladder_graph 5 create_using N/A MultiGraph N/A N/A assert_equal N/A sorted N/A N/A mG edges N/A sorted N/A N/A G edges N/A test_circulant_graph N/A N/A self N/A N/A N/A Ci6_1 N/A circulant_graph 6 N/A 1 N/A C6 N/A cycle_graph 6 N/A N/A assert_equal N/A sorted N/A N/A Ci6_1 edges N/A sorted N/A N/A C6 edges N/A Ci7 N/A circulant_graph 7 N/A 1 2 3 N/A K7 N/A complete_graph 7 N/A N/A assert_equal N/A sorted N/A N/A Ci7 edges N/A sorted N/A N/A K7 edges N/A Ci6_1_3 N/A circulant_graph 6 N/A 1 3 N/A K3_3 N/A complete_bipartite_graph 3 3 N/A N/A assert_true N/A is_isomorphic Ci6_1_3 K3_3 N/A test_cycle_graph N/A N/A self N/A N/A N/A G N/A cycle_graph 4 N/A N/A assert_equal N/A sorted N/A N/A G edges N/A N/A 0 1 N/A 0 3 N/A 1 2 N/A 2 3 N/A mG N/A cycle_graph 4 create_using N/A MultiGraph N/A N/A assert_equal N/A sorted N/A N/A mG edges N/A N/A 0 1 N/A 0 3 N/A 1 2 N/A 2 3 N/A G N/A cycle_graph 4 create_using N/A DiGraph N/A N/A assert_false N/A N/A G has_edge 2 1 N/A N/A assert_true N/A N/A G has_edge 1 2 N/A N/A assert_true N/A N/A G is_directed N/A G N/A cycle_graph abc N/A N/A assert_equal N/A len G 3 N/A N/A assert_equal N/A N/A G size 3 N/A g N/A cycle_graph abc N/A N/A nx DiGraph N/A N/A assert_equal N/A len g 3 N/A N/A assert_equal N/A N/A g size 3 N/A N/A assert_true N/A N/A g is_directed N/A test_dorogovtsev_goltsev_mendes_graph N/A N/A self N/A N/A N/A G N/A dorogovtsev_goltsev_mendes_graph 0 N/A N/A assert_equal N/A sorted N/A N/A G edges N/A N/A 0 1 N/A N/A assert_equal N/A list G N/A 0 1 N/A G N/A dorogovtsev_goltsev_mendes_graph 1 N/A N/A assert_equal N/A sorted N/A N/A G edges N/A N/A 0 1 N/A 0 2 N/A 1 2 N/A N/A assert_equal N/A average_clustering G 1.0 N/A N/A assert_equal N/A sorted N/A N/A N/A triangles G values N/A 1 1 1 N/A G N/A dorogovtsev_goltsev_mendes_graph 10 N/A N/A assert_equal N/A number_of_nodes G 29526 N/A N/A assert_equal N/A number_of_edges G 59049 N/A N/A assert_equal N/A N/A G degree 0 1024 N/A N/A assert_equal N/A N/A G degree 1 1024 N/A N/A assert_equal N/A N/A G degree 2 1024 N/A N/A assert_raises N/A N/A networkx exception NetworkXError dorogovtsev_goltsev_mendes_graph 7 create_using N/A DiGraph N/A N/A assert_raises N/A N/A networkx exception NetworkXError dorogovtsev_goltsev_mendes_graph 7 create_using N/A MultiGraph N/A test_empty_graph N/A N/A self N/A N/A N/A G N/A empty_graph N/A N/A assert_equal N/A number_of_nodes G 0 N/A G N/A empty_graph 42 N/A N/A assert_equal N/A number_of_nodes G 42 N/A N/A assert_equal N/A number_of_edges G 0 N/A N/A assert_equal N/A G name empty_graph(42) N/A G N/A empty_graph abc N/A N/A assert_equal N/A len G 3 N/A N/A assert_equal N/A N/A G size 0 N/A G N/A empty_graph 42 create_using N/A DiGraph name duh N/A N/A assert_equal N/A number_of_nodes G 42 N/A N/A assert_equal N/A number_of_edges G 0 N/A N/A assert_equal N/A G name empty_graph(42) N/A N/A assert_true N/A isinstance G DiGraph N/A G N/A empty_graph 42 create_using N/A MultiGraph name duh N/A N/A assert_equal N/A number_of_nodes G 42 N/A N/A assert_equal N/A number_of_edges G 0 N/A N/A assert_equal N/A G name empty_graph(42) N/A N/A assert_true N/A isinstance G MultiGraph N/A pete N/A petersen_graph N/A G N/A empty_graph 42 create_using pete N/A N/A assert_equal N/A number_of_nodes G 42 N/A N/A assert_equal N/A number_of_edges G 0 N/A N/A assert_equal N/A G name empty_graph(42) N/A N/A assert_true N/A isinstance G Graph N/A test_grid_2d_graph N/A N/A self N/A N/A N/A n 5 N/A m 6 N/A G N/A grid_2d_graph n m N/A N/A assert_equal N/A number_of_nodes G N/A n m N/A N/A assert_equal N/A degree_histogram G N/A 0 0 4 N/A N/A 2 N/A n m 8 N/A N/A n 2 N/A m 2 N/A DG N/A grid_2d_graph n m create_using N/A DiGraph N/A N/A assert_equal N/A DG succ N/A G adj N/A N/A assert_equal N/A DG pred N/A G adj N/A MG N/A grid_2d_graph n m create_using N/A MultiGraph N/A N/A assert_equal N/A sorted N/A N/A MG edges N/A sorted N/A N/A G edges N/A g N/A grid_2d_graph N/A range n N/A range m N/A N/A assert_equal N/A sorted N/A N/A g edges N/A sorted N/A N/A G edges N/A test_grid_graph N/A N/A self N/A N/A N/A grid_graph([n,m]) is a connected simple graph with the
        following properties:
        number_of_nodes=n*m
        degree_histogram=[0,0,4,2*(n+m)-8,(n-2)*(m-2)]
         N/A N/A n m N/A N/A 3 5 N/A 5 3 N/A 4 5 N/A 5 4 N/A N/A dim N/A n m N/A g N/A grid_graph dim N/A N/A assert_equal N/A number_of_nodes g N/A n m N/A N/A assert_equal N/A degree_histogram g N/A 0 0 4 N/A N/A 2 N/A n m 8 N/A N/A n 2 N/A m 2 N/A N/A assert_equal dim N/A n m N/A N/A n m N/A N/A 1 5 N/A 5 1 N/A N/A dim N/A n m N/A g N/A grid_graph dim N/A N/A assert_equal N/A number_of_nodes g N/A n m N/A N/A assert_true N/A is_isomorphic g N/A path_graph 5 N/A N/A assert_equal dim N/A n m N/A g N/A grid_graph N/A N/A range 7 9 N/A range 3 6 N/A N/A assert_equal N/A number_of_nodes g N/A 2 3 N/A N/A assert_true N/A is_isomorphic g N/A grid_graph N/A 2 3 N/A test_hypercube_graph N/A N/A self N/A N/A N/A N/A n G N/A N/A 0 N/A null_graph N/A 1 N/A path_graph 2 N/A 2 N/A cycle_graph 4 N/A 3 N/A cubical_graph N/A N/A g N/A hypercube_graph n N/A N/A assert_true N/A is_isomorphic g G N/A g N/A hypercube_graph 4 N/A N/A assert_equal N/A degree_histogram g N/A 0 0 0 0 16 N/A g N/A hypercube_graph 5 N/A N/A assert_equal N/A degree_histogram g N/A 0 0 0 0 0 32 N/A g N/A hypercube_graph 6 N/A N/A assert_equal N/A degree_histogram g N/A 0 0 0 0 0 0 64 N/A test_ladder_graph N/A N/A self N/A N/A N/A N/A i G N/A N/A 0 N/A empty_graph 0 N/A 1 N/A path_graph 2 N/A 2 N/A hypercube_graph 2 N/A 10 N/A grid_graph N/A 2 10 N/A N/A N/A assert_true N/A is_isomorphic N/A ladder_graph i G N/A N/A assert_raises N/A N/A networkx exception NetworkXError ladder_graph 2 create_using N/A DiGraph N/A g N/A ladder_graph 2 N/A mg N/A ladder_graph 2 create_using N/A MultiGraph N/A N/A assert_equal N/A sorted N/A N/A mg edges N/A sorted N/A N/A g edges N/A test_lollipop_graph N/A N/A self N/A N/A N/A N/A m1 m2 N/A N/A 3 5 N/A 4 10 N/A 3 20 N/A N/A b N/A lollipop_graph m1 m2 N/A N/A assert_equal N/A number_of_nodes b N/A m1 m2 N/A N/A assert_equal N/A number_of_edges b N/A N/A N/A m1 N/A m1 1 2 m2 N/A N/A assert_equal N/A b name N/A N/A N/A N/A lollipop_graph( N/A str m1 ,  N/A str m2 ) N/A N/A assert_raises N/A N/A networkx exception NetworkXError lollipop_graph 1 20 N/A N/A assert_raises N/A N/A networkx exception NetworkXError lollipop_graph 5 -2 N/A N/A m1 m2 N/A N/A 2 5 N/A 2 10 N/A 2 20 N/A N/A b N/A lollipop_graph m1 m2 N/A N/A assert_true N/A is_isomorphic b N/A path_graph N/A m2 2 N/A N/A assert_raises N/A N/A networkx exception NetworkXError lollipop_graph m1 m2 create_using N/A DiGraph N/A mb N/A lollipop_graph m1 m2 create_using N/A MultiGraph N/A N/A assert_equal N/A sorted N/A N/A mb edges N/A sorted N/A N/A b edges N/A g N/A lollipop_graph N/A 1 2 3 4 abc N/A N/A assert_equal N/A len g 7 N/A N/A assert_equal N/A N/A g size 9 N/A test_null_graph N/A N/A self N/A N/A N/A N/A assert_equal N/A number_of_nodes N/A null_graph 0 N/A test_path_graph N/A N/A self N/A N/A N/A p N/A path_graph 0 N/A N/A assert_true N/A is_isomorphic p N/A null_graph N/A N/A assert_equal N/A p name path_graph(0) N/A p N/A path_graph 1 N/A N/A assert_true N/A is_isomorphic p N/A empty_graph 1 N/A N/A assert_equal N/A p name path_graph(1) N/A p N/A path_graph 10 N/A N/A assert_true N/A is_connected p N/A N/A assert_equal N/A sorted N/A d N/A N/A n d N/A N/A p degree N/A 1 1 2 2 2 2 2 2 2 2 N/A N/A assert_equal N/A N/A N/A p order 1 N/A N/A p size N/A dp N/A path_graph 3 create_using N/A DiGraph N/A N/A assert_true N/A N/A dp has_edge 0 1 N/A N/A assert_false N/A N/A dp has_edge 1 0 N/A mp N/A path_graph 10 create_using N/A MultiGraph N/A N/A assert_equal N/A sorted N/A N/A mp edges N/A sorted N/A N/A p edges N/A G N/A path_graph abc N/A N/A assert_equal N/A len G 3 N/A N/A assert_equal N/A N/A G size 2 N/A g N/A path_graph abc N/A N/A nx DiGraph N/A N/A assert_equal N/A len g 3 N/A N/A assert_equal N/A N/A g size 2 N/A N/A assert_true N/A N/A g is_directed N/A test_periodic_grid_2d_graph N/A N/A self N/A N/A N/A g N/A grid_2d_graph 0 0 periodic True N/A N/A assert_equal N/A dict N/A N/A g degree N/A N/A N/A m n G N/A N/A 2 2 N/A cycle_graph 4 N/A 1 7 N/A cycle_graph 7 N/A 7 1 N/A cycle_graph 7 N/A 2 5 N/A circular_ladder_graph 5 N/A 5 2 N/A circular_ladder_graph 5 N/A 2 4 N/A cubical_graph N/A 4 2 N/A cubical_graph N/A N/A g N/A grid_2d_graph m n periodic True N/A N/A assert_true N/A is_isomorphic g G N/A DG N/A grid_2d_graph 4 2 periodic True create_using N/A DiGraph N/A N/A assert_equal N/A DG succ N/A g adj N/A N/A assert_equal N/A DG pred N/A g adj N/A MG N/A grid_2d_graph 4 2 periodic True create_using N/A MultiGraph N/A N/A assert_equal N/A sorted N/A N/A MG edges N/A sorted N/A N/A g edges N/A gg N/A grid_2d_graph N/A range 4 N/A range 2 periodic True N/A N/A assert_true N/A is_isomorphic gg g N/A ggg N/A grid_2d_graph abcd ef periodic True N/A N/A assert_true N/A is_isomorphic ggg g N/A test_star_graph N/A N/A self N/A N/A N/A N/A assert_true N/A is_isomorphic N/A star_graph 0 N/A empty_graph 1 N/A N/A assert_true N/A is_isomorphic N/A star_graph 1 N/A path_graph 2 N/A N/A assert_true N/A is_isomorphic N/A star_graph 2 N/A path_graph 3 N/A N/A assert_true N/A is_isomorphic N/A star_graph 5 N/A N/A nx complete_bipartite_graph 1 5 N/A s N/A star_graph 10 N/A N/A assert_equal N/A sorted N/A d N/A N/A n d N/A N/A s degree N/A 1 1 1 1 1 1 1 1 1 1 10 N/A N/A assert_raises N/A N/A networkx exception NetworkXError star_graph 10 create_using N/A DiGraph N/A ms N/A star_graph 10 create_using N/A MultiGraph N/A N/A assert_equal N/A sorted N/A N/A ms edges N/A sorted N/A N/A s edges N/A G N/A star_graph abcdefg N/A N/A assert_equal N/A len G 7 N/A N/A assert_equal N/A N/A G size 6 N/A test_trivial_graph N/A N/A self N/A N/A N/A N/A assert_equal N/A number_of_nodes N/A trivial_graph 1 N/A test_wheel_graph N/A N/A self N/A N/A N/A N/A n G N/A N/A 0 N/A null_graph N/A 1 N/A empty_graph 1 N/A 2 N/A path_graph 2 N/A 3 N/A complete_graph 3 N/A 4 N/A complete_graph 4 N/A N/A g N/A wheel_graph n N/A N/A assert_true N/A is_isomorphic g G N/A N/A assert_equal N/A g name wheel_graph(4) N/A g N/A wheel_graph 10 N/A N/A assert_equal N/A sorted N/A d N/A N/A n d N/A N/A g degree N/A 3 3 3 3 3 3 3 3 3 9 N/A N/A assert_raises N/A N/A networkx exception NetworkXError wheel_graph 10 create_using N/A DiGraph N/A mg N/A wheel_graph 10 create_using N/A MultiGraph N/A N/A assert_equal N/A sorted N/A N/A mg edges N/A sorted N/A N/A g edges N/A G N/A wheel_graph abc N/A N/A assert_equal N/A len G 3 N/A N/A assert_equal N/A N/A G size 3 N/A test_complete_0_partite_graph N/A N/A self N/A N/A N/A Tests that the complete 0-partite graph is the null graph. N/A G N/A N/A nx complete_multipartite_graph N/A H N/A N/A nx null_graph N/A N/A assert_nodes_equal G H N/A N/A assert_edges_equal N/A sorted N/A N/A G edges N/A sorted N/A N/A H edges N/A test_complete_1_partite_graph N/A N/A self N/A N/A N/A Tests that the complete 1-partite graph is the empty graph. N/A G N/A N/A nx complete_multipartite_graph 3 N/A H N/A N/A nx empty_graph 3 N/A N/A assert_nodes_equal G H N/A N/A assert_edges_equal N/A sorted N/A N/A G edges N/A sorted N/A N/A H edges N/A test_complete_2_partite_graph N/A N/A self N/A N/A N/A Tests that the complete 2-partite graph is the complete bipartite
        graph.

         N/A G N/A N/A nx complete_multipartite_graph 2 3 N/A H N/A N/A nx complete_bipartite_graph 2 3 N/A N/A assert_nodes_equal G H N/A N/A assert_edges_equal N/A sorted N/A N/A G edges N/A sorted N/A N/A H edges N/A test_complete_multipartite_graph N/A N/A self N/A N/A N/A Tests for generating the complete multipartite graph. N/A G N/A N/A nx complete_multipartite_graph 2 3 4 N/A blocks N/A N/A 0 1 N/A 2 3 4 N/A 5 6 7 8 N/A block blocks N/A N/A N/A u v N/A N/A itertools combinations_with_replacement block 2 N/A N/A N/A assert_true N/A v N/A G N/A u N/A N/A assert_equal N/A N/A G node N/A u N/A N/A G node N/A v N/A N/A block1 block2 N/A N/A itertools combinations blocks 2 N/A N/A N/A u v N/A N/A itertools product block1 block2 N/A N/A N/A assert_true N/A v N/A G N/A u N/A N/A assert_not_equal N/A N/A G node N/A u N/A N/A G node N/A v N/A N/A