Module Import alias identifier Import alias identifier ImportFrom alias ClassDef bases body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad Num Num NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr IfExp CompareLt NameLoad NameLoad NameLoad BinOpSub NameLoad Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot NameLoad UnaryOpNot NameLoad body Print Str Return If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Print Str Return If AttributeLoad NameLoad attr body For NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareEq Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num body Expr Call AttributeLoad NameLoad attr ListComp ListLoad NameLoad NameLoad comprehension NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Print Str If CompareIs AttributeLoad NameLoad attr NameLoad body Print Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Print Str AttributeLoad NameLoad attr Print Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMult AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpMult Num Call AttributeLoad NameLoad attr Num Num keyword TupleLoad NameLoad Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num keyword AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Index Num Index Num Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore NameLoad body If CompareNotIn NameLoad AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad attr AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Num Call AttributeLoad NameLoad attr ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Num Call AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body If CompareNotIn SubscriptLoad NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Num TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num NameLoad Assign NameStore BinOpPow BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Num Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Index Num NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore NameLoad body If CompareIn SubscriptLoad NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Call AttributeLoad NameLoad attr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr ListLoad keyword AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr ListLoad keyword AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr ListLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad keyword BinOpAdd NameLoad Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Slice Num For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad ListLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Print Str Assign NameStore Call NameLoad ListLoad For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num BinOpAdd AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad keyword BinOpAdd NameLoad Num Assign NameStore CompareNotEq Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num For TupleStore NameStore NameStore Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Slice Num SubscriptLoad SubscriptLoad NameLoad Index Num Slice Num body If UnaryOpNot NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Num For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body For NameStore Call NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad ListLoad NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad AugAssignAdd NameStore Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body If CompareIs SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr ListLoad keyword AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListComp Call NameLoad NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Num For NameStore Call NameLoad AttributeLoad NameLoad attr body For NameStore Call NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body If Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body AugAssignAdd NameStore Num Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index UnaryOpInvert Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Num keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Num If AttributeLoad NameLoad attr body Assign NameStore Num Assign SubscriptStore NameLoad Index NameLoad BinOpMult NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad Assign SubscriptStore NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Num If AttributeLoad NameLoad attr body Assign NameStore Num For NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num If CompareGt SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num Num body Assign NameStore Num orelse Assign NameStore Num Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpMult NameLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpMult BinOpMult NameLoad NameLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Call NameLoad AttributeLoad NameLoad attr Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return ListComp SubscriptLoad SubscriptLoad NameLoad Index CompareEq SubscriptLoad NameLoad ExtSlice Slice Index Num NameLoad ExtSlice Slice Index Num comprehension NameStore Call NameLoad BinOpAdd Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam defaults body If CompareIn NameLoad NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore SubscriptLoad NameLoad Index NameLoad body If BoolOpOr CompareIn NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListComp CompareIn SubscriptLoad NameLoad Index Num NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListComp CompareNotIn SubscriptLoad NameLoad Index Num NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListComp CompareNotIn SubscriptLoad NameLoad Index Num NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListComp CompareIn SubscriptLoad NameLoad Index Num NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword NameLoad For TupleStore NameStore NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad NameLoad body If CompareIs SubscriptLoad NameLoad Index Num NameLoad body Assign SubscriptStore NameLoad Index Num Num Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad If CompareNotEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Num body Print Str Import alias Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword NameLoad If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr While CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num For NameStore SubscriptLoad NameLoad Index NameLoad body If CompareNotIn NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore Call NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr While CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num For NameStore SubscriptLoad NameLoad Index NameLoad body If CompareNotIn NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num NameLoad If CompareEq NameLoad NameLoad body Assign NameStore ListLoad Break Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword NameLoad Assign NameStore NameLoad While NameLoad body If CompareEq NameLoad NameLoad body Return NameLoad If CompareIs SubscriptLoad NameLoad Index NameLoad NameLoad body Return Call AttributeLoad NameLoad attr ListLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num ListLoad SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword NameLoad If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr While CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num For NameStore SubscriptLoad NameLoad Index NameLoad body If CompareNotIn NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign SubscriptStore NameLoad Slice BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword NameLoad While CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot SubscriptLoad NameLoad Index NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad Call NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body If BoolOpAnd CompareIn NameLoad NameLoad CompareLt SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad ListComp Call NameLoad ListLoad NameLoad comprehension NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad While BoolOpAnd CompareLt Call NameLoad NameLoad BinOpSub AttributeLoad NameLoad attr Num CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad ListLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad ListLoad SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore SubscriptLoad ListComp NameLoad comprehension NameStore NameLoad UnaryOpNot Call AttributeLoad NameLoad attr NameLoad Index Num If UnaryOpNot CompareEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore NameLoad Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr ExtSlice Slice Index Num Slice AttributeLoad NameLoad attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Index Num attr Slice AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Print Str Return If CompareGt Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index CompareLt AttributeLoad NameLoad attr Num Num body Print Str Return Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Slice AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Slice NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Num While CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore ListComp NameLoad comprehension NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad CompareIn NameLoad NameLoad body Assign NameStore BinOpAdd SubscriptLoad NameLoad Index NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad Index Num Index Num If CompareLt NameLoad SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp IfExp CompareIs NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad While CompareIn NameLoad NameLoad body For NameStore Call NameLoad Call NameLoad NameLoad body If CompareIs SubscriptLoad NameLoad Index NameLoad NameLoad body For NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body If SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Break If CompareIs SubscriptLoad NameLoad Index NameLoad NameLoad body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body If SubscriptLoad NameLoad Index NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Break Assign NameStore Call AttributeLoad NameLoad attr ListComp IfExp CompareIs NameLoad NameLoad NameLoad NameLoad comprehension NameStore NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num ListLoad SubscriptLoad NameLoad Index NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Print Str Return Assign NameStore ListLoad Assign NameStore Call NameLoad ListLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr While CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad For NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index NameLoad NameLoad If CompareEq Call NameLoad SubscriptLoad NameLoad Index NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Print Str Return Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Index Num Index Num handlers ExceptHandler body Print Str Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword NameLoad Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num Call NameLoad NameLoad body Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad NameLoad Index NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Index SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num ListLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Print Str Return Assign NameStore Call AttributeLoad NameLoad attr ListComp AttributeLoad NameLoad attr comprehension NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Num For NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr body For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body If CompareLt BinOpAdd SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num body Assign SubscriptStore NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body If CompareGt SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Print Str Break Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num ListLoad SubscriptLoad NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Print Str Print Str BinOpPow AttributeLoad NameLoad attr Num Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Num For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad For NameStore Call NameLoad Num AttributeLoad NameLoad attr body For NameStore Call NameLoad Num AttributeLoad NameLoad attr body For NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareLt BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad BinOpAdd SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad For NameStore Call NameLoad Num AttributeLoad NameLoad attr body If CompareLt SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad Num body Print Str Return Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num ListLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Print Str Print Str Print Str BinOpMult AttributeLoad NameLoad attr BinOpPow Call NameLoad AttributeLoad NameLoad attr Num Str Expr Call AttributeLoad NameLoad attr ListComp ListLoad Num NameLoad comprehension NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr ListComp ListLoad NameLoad BinOpSub AttributeLoad NameLoad attr Num comprehension NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Assign NameStore BinOpSub AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Assign NameStore BinOpSub AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad For NameStore Call NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad ListLoad body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Slice Index Num NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num For NameStore Call NameLoad BinOpSub Call NameLoad AttributeLoad NameLoad attr Num body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad ListLoad body Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr CompareEq SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Slice Index Num NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr While UnaryOpNot NameLoad body For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body If CompareNotEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad NameLoad Index NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Num If CompareNotEq SubscriptLoad NameLoad Index NameLoad Num body Assign SubscriptStore NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Assign NameStore NameLoad Break Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad NameLoad body If SubscriptLoad NameLoad Index NameLoad body For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad If SubscriptLoad NameLoad Index NameLoad body For NameStore NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body If CompareGt Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index NameLoad NameLoad Index Num Num body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd SubscriptLoad NameLoad Index NameLoad NameLoad For NameStore Call NameLoad Call NameLoad NameLoad body If CompareGt Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr CompareEq SubscriptLoad NameLoad Index NameLoad NameLoad Index Num Num body Assign SubscriptStore NameLoad Index NameLoad BinOpSub SubscriptLoad NameLoad Index NameLoad NameLoad Return TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Print Str Return Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num NameLoad While CompareNotEq Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body If CompareIsNot SubscriptLoad NameLoad Index NameLoad NameLoad body If CompareEq SubscriptLoad NameLoad Index NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad ListLoad SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore ListLoad SubscriptLoad NameLoad Index NameLoad For NameStore NameLoad body Assign NameStore NameStore NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num body If CompareLtE SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Num body Assign NameStore NameLoad orelse Assign NameStore NameLoad If CompareGt Call NameLoad NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num body If CompareLtE SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Index SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Num body Assign NameStore NameLoad orelse Assign NameStore NameLoad orelse Assign NameStore NameStore NameLoad Assign NameStore NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad ListLoad SubscriptLoad NameLoad Index NameLoad If BoolOpAnd CompareIs SubscriptLoad NameLoad Index NameLoad NameLoad NameLoad NameLoad UnaryOpNot NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad ListLoad SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore ListLoad SubscriptLoad NameLoad Index NameLoad If CompareEq Call NameLoad SubscriptLoad NameLoad Index NameLoad BinOpSub AttributeLoad NameLoad attr Num body Break For NameStore SubscriptLoad NameLoad Index UnaryOpInvert NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad body If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad ListLoad SubscriptLoad NameLoad Index NameLoad orelse Assign NameStore ListLoad SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Break Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareGt NameLoad NameLoad body Continue If Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num body If CompareLt NameLoad NameLoad body Assign NameStore NameLoad Continue Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr CompareEq NameLoad Num CompareEq NameLoad Num If CompareGt Call NameLoad NameLoad Num body If CompareEq Call AttributeLoad NameLoad attr CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad Num body Continue Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body If BoolOpAnd CompareIn NameLoad SubscriptLoad NameLoad Index NameLoad CompareLt SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Assign NameStore NameLoad Assign SubscriptStore NameLoad Index NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index CompareEq NameLoad Num If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num NameLoad Assign SubscriptStore NameLoad Index NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index CompareEq NameLoad Num If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Num NameLoad Return SubscriptLoad NameLoad Index CompareEq NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore NameLoad While CompareIn NameLoad NameLoad body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index UnaryOpInvert NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad keyword Num Index Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index UnaryOpInvert NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore NameLoad Return BinOpAdd NameLoad ListLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A numpy np N/A numpy.random rnd scipy.spatial cKDTree Graph N/A N/A N/A 
    Graph:
        nodes: a set of nodes i
        tree_nodes: a cKDTree repretenting the point list, used to query for
            the nearest neighbours in the edges creation prcess
        edges: a list of tuples (i,j) where i,j are in nodes
        costs: a list of cost where Ci is the cost of edges[i]
        FSs: forward stars, for every node i, FSs[i] is a list of j where
            (i,j) in edges
        FS_sosts: FSs forward stars costs, for every node i, FSs[i] is a
            list of costs Cj where (i,j) in edges
        BSs: backward stars, for every node j, BSs[j] is a list of i where
            (i,j) in edges
        gamma: nodes-edges incidence matrix, a len(nodes)Xlen(edges) matrix
            where gamma[e,n] = Ce + if n is tail(e), + Ce + if n is head(e),
            0 else
        qu: adiacence matrix, a len(nodes)Xlen(nodes) matrix where qu[i,j] =
            Cij if (i,j) in nodes, -Cji if (j,i) in nodes, 0 else
        capacities: capacity vector, for each edge e in edges, capacities[e]
            represent the capacity value of e
     N/A nodes N/A N/A np array N/A N/A edges N/A N/A np array N/A N/A FSs N/A N/A np array N/A N/A FS_costs N/A N/A np array N/A N/A BSs N/A N/A np array N/A N/A gamma N/A N/A np array N/A N/A qu N/A N/A np array N/A N/A capacities N/A N/A np array N/A N/A flows N/A N/A np array N/A __init__ N/A N/A self oriented points edges rand n max_neighbours acyclic negative_costs maxflux N/A True None None True 2000 20 False False False N/A N/A 
        Initialize the graph's data structures:
        param:
        oriented: True if the graph is oriented
        points: a list of nodes coordinates
        edges: a list of edges i,j where i,j are in range(len(points))
        rand: if True, generate random edges searching the rand(2,
            max_neighbours) nearest neighbours of each node
        n: number of nodes, used if points is None to generate 5*n random nodes
            and select the n nodes nearest to coords 0,0
        max_neighbours: max number of neighbours to search for in the random
            edges creation process
        acyclic: True if the graph must be acyclic
        negative_costs: if acyclic is True, negative and negative_costs
            indicates if negative costs edges could be added
        maxflux: True if a flux network has to be build (using edge capacities)

         N/A N/A self max_neighbours N/A N/A max_neighbours n max_neighbours N/A n 1 N/A N/A self oriented oriented N/A N/A self acyclic acyclic N/A N/A self negative_costs negative_costs N/A N/A self maxflux maxflux N/A N/A points None N/A N/A N/A self n n N/A N/A N/A self _init_random_nodes N/A N/A N/A self nodes points N/A N/A self n N/A len points N/A N/A N/A self _init_nodes N/A N/A N/A self _init_structs N/A N/A N/A edges N/A rand N/A N/A you must provide an edge list or rand=True N/A N/A rand N/A N/A N/A N/A self _init_edges N/A N/A N/A self _init_edges_list N/A N/A N/A self _init_gamma N/A N/A N/A self _init_qu N/A edges N/A N/A N/A N/A self add_edges edges N/A N/A N/A N/A self is_cyclic N/A self FSs N/A N/A self cyclic N/A N/A error, edges provides contains cycles and cyclic is False N/A N/A N/A self acyclic N/A N/A i N/A range N/A self n N/A N/A N/A N/A len N/A N/A self BSs N/A i 0 N/A N/A N/A N/A self add_edges N/A N/A head i N/A head N/A N/A self FSs N/A i N/A maxflux N/A N/A N/A N/A self oriented False N/A N/A cannot apply maxflux on an unoriented graph N/A N/A N/A self negative_costs True N/A N/A costs will still be positive N/A N/A N/A self _init_capacities N/A N/A N/A self _init_flux N/A number of nodes:  N/A self n N/A number of arches:  N/A len N/A self edges N/A _init_random_nodes N/A N/A self N/A N/A N/A 
        Initialize uniformly random nodes coordinates
         N/A s N/A N/A self n 5 N/A N/A self nodes N/A N/A np array N/A 1.0 N/A N/A rnd uniform 0 1 size N/A s 2 dtype N/A np float32 N/A _init_nodes N/A N/A self N/A N/A N/A 
        Initialize nodes structures
         N/A center N/A N/A np array N/A N/A 0.5 0.5 dtype N/A np float32 N/A nodes_tree N/A cKDTree N/A self nodes N/A nodes_indices N/A N/A N/A N/A nodes_tree query center k N/A self n N/A 1 N/A 0 N/A N/A self nodes N/A N/A self nodes N/A nodes_indices N/A N/A self nodes_tree N/A cKDTree N/A self nodes N/A add_nodes N/A N/A self nodes N/A N/A N/A n nodes N/A N/A N/A n N/A self nodes N/A N/A N/A self n 1 N/A N/A self nodes N/A N/A N/A N/A np append N/A self nodes n reshape N/A self n 2 N/A N/A self FSs N/A N/A np append N/A self FSs N/A N/A np empty 1 dtype N/A np object N/A N/A self FS_costs N/A N/A np append N/A self FS_costs N/A N/A np empty 1 dtype N/A np object N/A N/A N/A self FSs N/A -1 N/A N/A np array N/A N/A N/A N/A self FS_costs N/A -1 N/A N/A np array N/A N/A N/A N/A self _init_BSs N/A N/A N/A self _init_gamma N/A N/A N/A self _init_qu N/A add_edges N/A N/A self edges N/A N/A N/A 
        Adds a list of (i,j) where i,j are in range(n) and reinitialize the
        structures
         N/A e edges N/A N/A N/A N/A e N/A 1 N/A N/A self FSs N/A N/A e N/A 0 N/A N/A N/A self edges N/A N/A np append N/A self edges None N/A N/A N/A self edges N/A -1 N/A N/A e N/A 0 N/A e N/A 1 N/A N/A N/A self FSs N/A N/A e N/A 0 N/A N/A np append N/A N/A self FSs N/A N/A e N/A 0 None N/A N/A N/A N/A self FSs N/A N/A e N/A 0 N/A -1 N/A e N/A 1 N/A N/A N/A self FS_costs N/A N/A e N/A 0 N/A N/A np append N/A N/A self FS_costs N/A N/A e N/A 0 None N/A c N/A N/A N/A N/A self nodes N/A N/A e N/A 1 N/A N/A self nodes N/A N/A e N/A 0 2 N/A c N/A N/A np sqrt N/A N/A c sum axis -1 N/A N/A N/A N/A self FS_costs N/A N/A e N/A 0 N/A -1 c N/A N/A N/A self _init_BSs N/A N/A N/A self _init_gamma N/A N/A N/A self _init_qu N/A remove_edges N/A N/A self edges N/A N/A N/A 
        Adds a list of (i,j) where i,j are in range(n) and reinitialize the
        structures
         N/A e edges N/A N/A N/A N/A e N/A 1 N/A N/A self FSs N/A N/A e N/A 0 N/A N/A N/A self edges N/A N/A np delete N/A self edges N/A N/A np where N/A N/A self edges e N/A N/A N/A self FS_costs N/A N/A e N/A 0 N/A N/A np delete N/A N/A self FS_costs N/A N/A e N/A 0 N/A N/A np where N/A N/A N/A self FSs N/A N/A e N/A 0 N/A e N/A 1 N/A N/A N/A self FSs N/A N/A e N/A 0 N/A N/A np delete N/A N/A self FSs N/A N/A e N/A 0 N/A N/A np where N/A N/A N/A self FSs N/A N/A e N/A 0 N/A e N/A 1 N/A N/A N/A self _init_BSs N/A N/A N/A self _init_gamma N/A N/A N/A self _init_qu N/A _init_structs N/A N/A self N/A N/A N/A 
        Initialize the data structures
         N/A N/A self edges N/A N/A np array N/A dtype object N/A N/A self FSs N/A N/A np empty N/A self n dtype N/A np object N/A N/A self BSs N/A N/A np empty N/A self n dtype N/A np object N/A N/A self FS_costs N/A N/A np empty N/A self n dtype N/A np object N/A i N/A range N/A self n N/A N/A N/A N/A self FSs N/A i N/A N/A np array N/A dtype N/A np int N/A N/A N/A self BSs N/A i N/A N/A np array N/A dtype N/A np int N/A N/A N/A self FS_costs N/A i N/A N/A np array N/A dtype N/A np float32 N/A _init_edges N/A N/A self N/A N/A N/A 
        Initialize random edges filling the FSs struct
         N/A N/A self acyclic N/A N/A N/A N/A self _init_acyclic_edges N/A N/A i N/A range N/A len N/A self nodes N/A N/A neighbours N/A self max_neighbours N/A query_res N/A N/A N/A self nodes_tree query N/A N/A self nodes N/A i k N/A neighbours 1 N/A N/A N/A self FSs N/A i N/A N/A query_res N/A 1 N/A 1 N/A node_index N/A N/A self FSs N/A i N/A N/A N/A N/A self BSs N/A node_index N/A N/A np append N/A N/A self BSs N/A node_index N/A i N/A N/A N/A self FS_costs N/A i N/A N/A query_res N/A 0 N/A 1 N/A _init_acyclic_edges N/A N/A self N/A N/A N/A 
        Initialize random edges filling the FSs struct
         N/A Warning: Generating acyclic edges is NP-hard, expect long times, very long for more than 500 nodes N/A big_s N/A set N/A N/A i N/A range N/A len N/A self nodes N/A N/A N/A N/A big_s add i N/A neighbours N/A N/A rnd randint 3 N/A N/A self max_neighbours 1 N/A query_res N/A N/A N/A self nodes_tree query N/A N/A self nodes N/A i k N/A neighbours 1 N/A hole N/A N/A len N/A N/A self BSs N/A i 0 N/A N/A tail cost N/A zip N/A N/A query_res N/A 1 N/A 1 N/A N/A query_res N/A 0 N/A 1 N/A N/A N/A hole N/A N/A N/A N/A self FSs N/A i N/A N/A np append N/A N/A self FSs N/A i tail N/A N/A N/A self FS_costs N/A i N/A N/A np append N/A N/A self FS_costs N/A i cost N/A N/A N/A self BSs N/A tail N/A N/A np append N/A N/A self BSs N/A tail i N/A N/A temp_fs N/A N/A N/A self FSs copy N/A N/A temp_fs N/A i N/A N/A np append N/A temp_fs N/A i tail N/A N/A N/A N/A self is_cyclic temp_fs N/A N/A N/A N/A self FSs N/A i N/A N/A N/A temp_fs N/A i copy N/A N/A N/A self FS_costs N/A i N/A N/A np append N/A N/A self FS_costs N/A i cost N/A N/A N/A self BSs N/A tail N/A N/A np append N/A N/A self BSs N/A tail i N/A _init_edges_list N/A N/A self N/A N/A N/A 
        Initialize the edge list and cost list
         N/A l N/A sum N/A N/A len x N/A x N/A self FSs N/A N/A self edges N/A N/A np empty l dtype object N/A N/A self costs N/A N/A np empty l dtype object N/A index 0 N/A i N/A range N/A len N/A self FSs N/A N/A n_index N/A range N/A len N/A N/A self FSs N/A i N/A N/A N/A N/A self edges N/A index N/A i N/A N/A N/A self FSs N/A i N/A n_index N/A N/A N/A self costs N/A index N/A N/A N/A self FS_costs N/A i N/A n_index N/A index 1 N/A _init_BSs N/A N/A self N/A N/A N/A 
        Initialize BSs struct
         N/A N/A self BSs N/A N/A np empty N/A self n dtype N/A np object N/A i N/A range N/A len N/A self FSs N/A N/A node_index N/A N/A self FSs N/A i N/A N/A N/A N/A N/A self BSs N/A node_index None N/A N/A N/A N/A self BSs N/A node_index N/A N/A np array N/A dtype N/A np int N/A N/A N/A self BSs N/A node_index N/A N/A np append N/A N/A self BSs N/A node_index N/A i N/A _init_gamma N/A N/A self N/A N/A N/A 
        Initialize Gamma
         N/A l N/A sum N/A N/A len x N/A x N/A self FSs N/A h N/A self n N/A N/A self gamma N/A N/A np zeros N/A l h dtype N/A np float32 N/A gamma_index 0 N/A x N/A range N/A self n N/A N/A fs_index N/A range N/A len N/A N/A self FSs N/A x N/A N/A N/A N/A self _init_gamma_edge gamma_index x fs_index N/A N/A gamma_index 1 N/A N/A self gamma N/A N/A self gamma N/A N/A N/A N/A np all N/A N/A self gamma 0 axis 1 N/A _init_gamma_edge N/A N/A self gamma_index x y N/A N/A N/A 
        Try to add a column to Gamma, return True if success
         N/A column N/A N/A np zeros N/A self n dtype N/A np float32 N/A direction 1 N/A N/A self oriented N/A N/A direction -1 N/A N/A column N/A x N/A direction N/A N/A N/A self FS_costs N/A x N/A y N/A N/A column N/A N/A N/A N/A self FSs N/A x N/A y N/A N/A N/A self FS_costs N/A x N/A y N/A N/A N/A self gamma N/A gamma_index column N/A True N/A _init_qu N/A N/A self N/A N/A N/A 
        Initialize Qu
         N/A l h N/A len N/A self nodes N/A N/A self qu N/A N/A np zeros N/A l h dtype N/A np float32 N/A direction 1 N/A N/A self oriented N/A N/A direction -1 N/A x N/A self gamma N/A N/A nonzero N/A N/A N/A x nonzero N/A 0 N/A N/A N/A x N/A N/A nonzero N/A 0 0 N/A N/A invert 1 N/A N/A invert -1 N/A N/A N/A self qu N/A N/A N/A nonzero N/A 0 N/A nonzero N/A 1 N/A invert N/A x N/A N/A nonzero N/A 0 N/A N/A N/A self qu N/A N/A N/A nonzero N/A 1 N/A nonzero N/A 0 N/A N/A invert direction N/A x N/A N/A nonzero N/A 0 N/A _init_capacities N/A N/A self N/A N/A N/A 
        Inizialize capacity vector
         N/A N/A self capacities N/A N/A N/A np random randint 1 11 N/A len N/A self edges N/A _init_flux N/A N/A self N/A N/A N/A 
        Inizialize flux vector
         N/A N/A self flows N/A N/A np zeros N/A N/A len N/A self edges 0 dtype N/A np int N/A edges_to_fs N/A N/A self edges N/A N/A N/A 
        Return the FS list for a given list of edges
         N/A N/A N/A N/A edges N/A N/A N/A edges N/A N/A N/A 0 i N/A N/A N/A 1 N/A i N/A range N/A 1 N/A N/A np max N/A N/A edges flatten N/A is_cyclic N/A N/A self fs N/A N/A N/A 
        Return True if the UNdirected graph fs has a cycle.
        fs must be a list of FSs
         N/A path N/A set N/A visited N/A set visit N/A N/A vertex N/A N/A N/A N/A vertex visited N/A N/A False N/A N/A N/A visited add vertex N/A N/A N/A path add vertex N/A neighbour N/A fs N/A vertex N/A N/A N/A N/A neighbour path N/A visit neighbour N/A N/A True N/A N/A N/A path remove vertex N/A False N/A N/A N/A any N/A N/A visit v N/A v N/A range N/A len fs N/A delta_plus N/A N/A self nodes N/A N/A N/A 
        Returns the list of edges forwarding from a set of nodes
         N/A bool_indices_head N/A N/A np array N/A N/A N/A x N/A 0 nodes N/A x N/A self edges N/A bool_indices_tail N/A N/A np array N/A N/A N/A x N/A 1 nodes N/A x N/A self edges N/A bool_indices_edges N/A N/A np bitwise_and bool_indices_head bool_indices_tail N/A N/A N/A self edges N/A bool_indices_edges N/A delta_minus N/A N/A self nodes N/A N/A N/A 
        Returns the list of edges backwarding from a set of nodes
         N/A bool_indices_head N/A N/A np array N/A N/A N/A x N/A 0 nodes N/A x N/A self edges N/A bool_indices_tail N/A N/A np array N/A N/A N/A x N/A 1 nodes N/A x N/A self edges N/A bool_indices_edges N/A N/A np bitwise_and bool_indices_head bool_indices_tail N/A N/A N/A self edges N/A bool_indices_edges N/A coords_edge N/A N/A self edge N/A N/A N/A 
        Returns coordinates head and tail points for an edge
         N/A N/A N/A N/A self nodes N/A N/A edge N/A 0 N/A N/A self nodes N/A N/A edge N/A 1 N/A coords_edges N/A N/A self edges N/A N/A N/A 
        Returns a list of coordinates head and tail points for all edge in edges
         N/A res N/A N/A np empty N/A len edges dtype object N/A N/A r e N/A zip N/A range N/A len edges edges N/A N/A N/A N/A e N/A 0 None N/A N/A N/A e N/A 0 0 N/A N/A res N/A r N/A N/A self coords_edge e N/A N/A N/A len N/A N/A res N/A r N/A 0 2 N/A N/A there is an error with the edges N/A pdb N/A N/A N/A pdb set_trace N/A res N/A BFS N/A N/A self start fs N/A None N/A N/A 
        Returns the BFS tree for the graph starting from start
         N/A to_be_processed N/A N/A np array N/A start dtype N/A np int N/A known N/A N/A np array N/A dtype N/A np int N/A tree N/A N/A np array N/A dtype object N/A N/A fs None N/A N/A fs N/A self FSs N/A N/A N/A len to_be_processed 0 N/A N/A current_node N/A to_be_processed N/A -1 N/A to_be_processed N/A N/A np delete to_be_processed -1 N/A node N/A fs N/A current_node N/A N/A N/A node known N/A N/A known N/A N/A np append known node N/A tree N/A N/A np append tree None N/A N/A tree N/A -1 N/A current_node node N/A to_be_processed N/A N/A np insert to_be_processed 0 node N/A tree N/A BFS_path N/A N/A self start end fs N/A None N/A N/A 
        Returns the BFS part for the graph from start to end if one
         N/A to_be_processed N/A N/A np array N/A start dtype N/A np int N/A known N/A N/A np array N/A dtype N/A np int N/A prev N/A N/A np array N/A None N/A i N/A range N/A self n N/A N/A fs None N/A N/A fs N/A self FSs N/A N/A N/A len to_be_processed 0 N/A N/A current_node N/A to_be_processed N/A -1 N/A to_be_processed N/A N/A np delete to_be_processed -1 N/A node N/A fs N/A current_node N/A N/A N/A node known N/A N/A known N/A N/A np append known node N/A N/A prev N/A node current_node N/A to_be_processed N/A N/A np insert to_be_processed 0 node N/A N/A node end N/A N/A to_be_processed N/A N/A N/A edges N/A N/A np array N/A dtype object N/A e end N/A True N/A N/A N/A e start N/A N/A edges N/A N/A N/A prev N/A e None N/A N/A N/A N/A np array N/A N/A edges N/A N/A np append None edges N/A N/A edges N/A 0 N/A N/A prev N/A e e N/A e N/A prev N/A e N/A DFS N/A N/A self start fs N/A None N/A N/A 
        Returns the DFS tree for the graph starting from start
         N/A to_be_processed N/A N/A np array N/A start dtype N/A np int N/A known N/A N/A np array N/A dtype N/A np int N/A tree N/A N/A np array N/A dtype object N/A N/A fs None N/A N/A fs N/A self FSs N/A N/A N/A len to_be_processed 0 N/A N/A current_node N/A to_be_processed N/A 0 N/A to_be_processed N/A N/A np delete to_be_processed 0 N/A node N/A fs N/A current_node N/A N/A N/A node known N/A N/A known N/A N/A np append known node N/A tree N/A N/A np append tree None N/A N/A tree N/A -1 N/A current_node node N/A to_be_processed N/A N/A np insert to_be_processed 0 node N/A tree N/A prim N/A N/A self N/A N/A N/A 
        Returns Prim's minimum spanninng tree
         N/A big_f N/A set N/A N/A costs N/A N/A np empty N/A self n dtype object N/A N/A costs N/A N/A N/A N/A np max N/A self costs 1 N/A big_e N/A N/A np empty N/A self n dtype object N/A big_q N/A set N/A range N/A self n N/A tree_edges N/A N/A np array N/A dtype object N/A N/A N/A len big_q 0 N/A N/A v N/A N/A np argmin costs N/A N/A N/A big_q remove v N/A N/A costs N/A v N/A np Infinity N/A N/A N/A big_f add v N/A N/A N/A big_e N/A v None N/A N/A tree_edges N/A N/A np append tree_edges None N/A N/A tree_edges N/A -1 N/A N/A big_e N/A v v N/A N/A i w N/A zip N/A range N/A len N/A N/A self FSs N/A v N/A N/A self FSs N/A v N/A N/A N/A N/A w big_q N/A N/A N/A N/A self FS_costs N/A v N/A i N/A costs N/A w N/A N/A N/A costs N/A w N/A N/A N/A self FS_costs N/A v N/A i N/A N/A big_e N/A w v N/A tree_edges N/A kruskal N/A N/A self maximum N/A False N/A N/A 
        Returns Prim's minimum spanninng tree
         N/A sets N/A set N/A N/A frozenset N/A x N/A x N/A range N/A self n N/A tree_edges N/A N/A np array N/A dtype object N/A sorted_index N/A N/A np argsort N/A self costs N/A maximum N/A N/A sorted_index N/A sorted_index N/A -1 N/A sorted_edges N/A N/A self edges N/A sorted_index N/A N/A N/A N/A len tree_edges N/A N/A self n 1 N/A N/A len sorted_edges 0 N/A N/A edge N/A sorted_edges N/A 0 N/A sorted_edges N/A N/A np delete sorted_edges 0 N/A u N/A frozenset N/A N/A edge N/A 0 N/A v N/A frozenset N/A N/A edge N/A 1 N/A find_set_u N/A N/A s N/A s sets N/A N/A N/A u isdisjoint s N/A 0 N/A find_set_v N/A N/A s N/A s sets N/A N/A N/A v isdisjoint s N/A 0 N/A N/A N/A find_set_u find_set_v N/A N/A N/A N/A sets remove find_set_u N/A N/A N/A sets remove find_set_v N/A N/A N/A sets add N/A N/A find_set_u union find_set_v N/A tree_edges N/A N/A np append tree_edges None N/A N/A tree_edges N/A -1 edge N/A N/A tree_edges sets N/A connect_graphs N/A N/A self sets_orig edges_orig N/A N/A N/A 
        Returns the edges needed to connect unconnected graphs (sets of nodes)
        given a set of sets of nodes, select the master_graph (the biggest) one
        and search the shortest edges to connect the other sets of nodes
         N/A master_graph N/A max sets_orig key len N/A sets N/A N/A sets_orig copy N/A edges N/A N/A np array N/A dtype object N/A N/A N/A sets remove master_graph N/A master_tree N/A cKDTree N/A N/A self nodes N/A N/A list master_graph N/A s sets N/A N/A x N/A N/A np array N/A list s N/A nearests N/A N/A np array N/A N/A N/A master_tree query N/A N/A self nodes N/A v N/A v x N/A tails N/A N/A N/A nearests N/A N/A N/A N/A nearests N/A N/A N/A 0 argsort N/A N/A N/A 1 N/A N/A self max_neighbours N/A heads N/A N/A x N/A N/A N/A N/A nearests N/A N/A N/A 0 argsort N/A N/A self max_neighbours N/A N/A head tail N/A zip heads tails N/A N/A edges N/A N/A np append edges None N/A N/A edges N/A -1 N/A head tail N/A edges N/A N/A np append edges None N/A N/A edges N/A -1 N/A tail head N/A edges N/A dijkstra N/A N/A self source N/A N/A N/A 
        Returns Dijkstra's shortest paths from source to all other nodes,
        if the (directed) graph doesn't contains negative costs
         N/A N/A N/A self oriented False N/A N/A cannot apply dijstra, graph is not oriented N/A N/A N/A N/A len N/A N/A self costs N/A N/A N/A self costs 0 0 N/A N/A cannot apply dijstra, graph contains negative cost edges N/A N/A big_q N/A N/A np arange N/A self n N/A dist N/A N/A np empty N/A self n dtype N/A np float32 N/A N/A dist N/A N/A N/A N/A np finfo N/A N/A np float32 max N/A prev N/A N/A np empty N/A self n dtype N/A np object N/A N/A prev N/A None N/A N/A prev N/A source source N/A N/A dist N/A source 0 N/A N/A N/A len big_q 0 N/A N/A u_i N/A N/A np argmin N/A dist N/A big_q N/A u N/A big_q N/A u_i N/A big_q N/A N/A np delete big_q u_i N/A v N/A v N/A v N/A N/A self FSs N/A u N/A v big_q N/A N/A alt N/A N/A dist N/A u N/A N/A N/A self FS_costs N/A u N/A N/A N/A N/A N/A np where N/A N/A N/A self FSs N/A u v N/A 0 N/A 0 N/A N/A alt N/A dist N/A v N/A N/A N/A dist N/A v alt N/A N/A prev N/A v u N/A N/A edges prev N/A N/A self fix_unheaded_edges prev N/A edges N/A fix_unheaded_edges N/A N/A self prev N/A N/A N/A 
        Add prev to all nodes n where prev[n] is None, after dijstra some of
        the nodes could still be unreachable, thus edge[0] is None, to prevent
        errors this ugly function makes sure that all edges are reachable from
        source after dijstra, hopefully at the minimum cost.
         N/A edges N/A N/A np array N/A dtype object N/A prev_presence N/A N/A np array N/A N/A N/A x None False True N/A x prev N/A N/A False prev_presence N/A N/A v N/A range N/A len prev N/A N/A N/A N/A prev N/A v None N/A N/A fs N/A N/A N/A self FSs N/A v N/A N/A N/A np argsort N/A N/A self FS_costs N/A v N/A N/A N/A prev_presence N/A fs N/A N/A N/A prev N/A v fs N/A N/A N/A N/A prev N/A v None N/A N/A bs N/A N/A self BSs N/A v N/A N/A N/A prev_presence N/A bs N/A N/A N/A prev N/A v bs N/A N/A prev_presence N/A N/A np array N/A N/A N/A x None False True N/A x prev N/A v N/A range N/A len prev N/A N/A edges N/A N/A np append edges None N/A N/A edges N/A -1 N/A N/A prev N/A v v N/A N/A edges prev N/A topological_sort N/A N/A self N/A N/A N/A 
        Returns a list topological sorted nodes
         N/A N/A N/A self is_cyclic N/A self FSs N/A N/A cannot apply labels, graph contains cycles N/A N/A big_l N/A N/A big_s N/A set N/A 0 N/A bs_copy N/A N/A N/A self BSs copy N/A N/A N/A len big_s 0 N/A N/A n N/A N/A big_s pop N/A N/A N/A big_l append n N/A m N/A N/A self FSs N/A n N/A N/A N/A bs_copy N/A m N/A N/A np delete N/A bs_copy N/A m N/A N/A np where N/A N/A bs_copy N/A m n N/A N/A N/A len N/A bs_copy N/A m 0 N/A N/A N/A N/A big_s add N/A int m N/A big_l N/A labels N/A N/A self source N/A N/A N/A 
        Returns Labels-algorithm's shortest paths from source to all other
        nodes, if the (directed) graph doesn't contains cycles
         N/A N/A N/A self oriented False N/A N/A cannot apply labels, graph is not oriented N/A N/A arg_sort N/A N/A np array N/A N/A self topological_sort N/A sorted_BSs N/A N/A self BSs N/A arg_sort N/A i N/A range N/A len sorted_BSs N/A N/A bs_i N/A N/A e N/A sorted_BSs N/A i N/A N/A N/A N/A N/A N/A bs_i append N/A N/A N/A N/A np where N/A arg_sort e N/A 0 N/A 0 N/A N/A N/A N/A error N/A N/A sorted_BSs N/A i N/A N/A np array bs_i N/A pred N/A N/A np empty N/A self n dtype N/A np int N/A N/A pred N/A source 0 N/A edges N/A N/A np array N/A dtype object N/A f N/A N/A N/A N/A f append source N/A t N/A range 1 N/A len arg_sort N/A N/A prev_costs N/A N/A p N/A sorted_BSs N/A t N/A N/A N/A N/A prev_costs append N/A N/A f N/A p N/A N/A N/A self qu N/A N/A arg_sort N/A p N/A N/A arg_sort N/A t N/A N/A N/A f append N/A min prev_costs N/A N/A pred N/A t N/A N/A sorted_BSs N/A t N/A N/A N/A np argmin prev_costs N/A edges N/A N/A np append edges None N/A N/A edges N/A -1 N/A N/A arg_sort N/A N/A pred N/A t N/A arg_sort N/A t N/A edges N/A bellman_ford N/A N/A self source N/A N/A N/A 
        Returns Labels-algorithm's shortest paths from source to all other
        nodes, if the (directed) graph doesn't contains cycles
         N/A N/A N/A self oriented False N/A N/A cannot apply bellman_ford, graph is not oriented N/A N/A dist N/A N/A np array N/A N/A np Infinity N/A x N/A range N/A self n dtype N/A np float32 N/A pred N/A N/A np empty N/A self n dtype N/A np int N/A N/A pred N/A source source N/A N/A dist N/A source 0 N/A i N/A N/A np arange 1 N/A self n N/A N/A e N/A range N/A len N/A self edges N/A N/A N/A N/A N/A dist N/A N/A N/A N/A self edges N/A e N/A 0 N/A N/A self costs N/A e N/A dist N/A N/A N/A N/A self edges N/A e N/A 1 N/A N/A N/A dist N/A N/A N/A N/A self edges N/A e N/A 1 N/A N/A dist N/A N/A N/A N/A self edges N/A e N/A 0 N/A N/A self costs N/A e N/A N/A pred N/A N/A N/A N/A self edges N/A e N/A 1 N/A N/A N/A self edges N/A e N/A 0 N/A e N/A range N/A len N/A self edges N/A N/A N/A N/A dist N/A N/A N/A N/A self edges N/A e N/A 1 N/A N/A dist N/A N/A N/A N/A self edges N/A e N/A 0 N/A N/A self costs N/A e N/A N/A Error, Graph contains a negative-weight cycle N/A N/A edges N/A N/A np array N/A dtype object N/A v N/A range N/A len pred N/A N/A edges N/A N/A np append edges None N/A N/A edges N/A -1 N/A N/A pred N/A v v N/A edges N/A floyd_warshall N/A N/A self source N/A N/A N/A 
        Returns floyd_warshall's shortest paths from source to all other
        nodes, if the (directed) graph doesn't contains negative cycles
         N/A warning! apply this algorithm only if constricted, it takes\
        O(n^3)! N/A O(n^3) = O( N/A N/A self n 3 ) N/A dist N/A N/A np empty N/A N/A self n N/A self n dtype N/A np float32 N/A pred N/A N/A np zeros N/A N/A self n N/A self n dtype N/A np int N/A N/A N/A dist fill N/A np Infinity N/A v N/A range N/A self n N/A N/A N/A N/A dist N/A v N/A v 0.0 N/A e N/A range N/A len N/A self edges N/A N/A u N/A N/A N/A self edges N/A e N/A 0 N/A v N/A N/A N/A self edges N/A e N/A 1 N/A N/A N/A dist N/A u N/A v N/A N/A self costs N/A e N/A N/A N/A pred N/A u N/A v v N/A h N/A range 1 N/A self n N/A N/A i N/A range 1 N/A self n N/A N/A j N/A range N/A self n N/A N/A N/A N/A N/A N/A dist N/A i N/A h N/A N/A dist N/A h N/A j N/A N/A dist N/A i N/A j N/A N/A N/A N/A dist N/A i N/A j N/A N/A N/A dist N/A i N/A h N/A N/A dist N/A h N/A j N/A N/A N/A pred N/A i N/A j N/A N/A pred N/A h N/A j N/A i N/A range 1 N/A self n N/A N/A N/A N/A N/A dist N/A i N/A i 0 N/A N/A Error! found negative cycle, thus the problem is inferiorly unlinmited N/A N/A edges N/A N/A np array N/A dtype object N/A v N/A range N/A len pred N/A N/A edges N/A N/A np append edges None N/A N/A edges N/A -1 N/A N/A N/A pred N/A source N/A v v N/A edges N/A ford_fulkerson N/A N/A self N/A N/A N/A 
        Returns ford_fulkerson's max flux in a flux graph
         N/A N/A N/A self maxflux N/A N/A cannot apply for fulkerson, graph is not a flow graph N/A warning! this algorithm takes O(m^2n)! N/A O(m^2n) = O( N/A N/A self n N/A N/A len N/A self edges 2 ) N/A N/A N/A self remove_edges N/A N/A 0 i N/A i N/A N/A self FSs N/A 0 N/A N/A N/A self remove_edges N/A N/A i N/A N/A self n 1 N/A i N/A N/A self FSs N/A -1 N/A s_node N/A N/A np array N/A -0.85 -0.85 N/A s N/A N/A self n 2 N/A t_node N/A N/A np array N/A 0.85 0.85 N/A t N/A N/A self n 1 N/A N/A N/A self add_nodes N/A s_node t_node N/A v N/A range N/A N/A len N/A self FSs 2 N/A N/A N/A N/A N/A self FSs N/A v N/A N/A N/A N/A N/A self add_edges N/A v t N/A N/A self capacities N/A N/A np append N/A self capacities N/A sum N/A N/A self capacities N/A N/A N/A np where N/A N/A N/A N/A self edges N/A N/A 1 v N/A N/A self flux N/A N/A np append N/A self flux 0 N/A v N/A range N/A N/A len N/A self BSs 2 N/A N/A N/A N/A N/A self BSs N/A v N/A N/A N/A N/A N/A self add_edges N/A s v N/A N/A self capacities N/A N/A np append N/A self capacities N/A sum N/A N/A self capacities N/A N/A N/A np where N/A N/A N/A N/A self edges N/A N/A 0 v N/A N/A self flux N/A N/A np append N/A self flux 0 N/A max_flux N/A N/A np zeros N/A len N/A self edges dtype N/A np int N/A v 0 N/A optimal False N/A directed_edges N/A N/A N/A self edges copy N/A directed_capacities N/A N/A N/A self capacities copy N/A inverted_edges N/A N/A N/A self edges copy N/A N/A N/A inverted_edges fill None N/A inverted_capacities N/A N/A N/A self capacities copy N/A N/A N/A inverted_capacities fill 0 N/A fs N/A N/A N/A self FSs copy N/A N/A optimal N/A N/A e N/A range N/A len N/A self edges N/A N/A N/A N/A max_flux N/A e N/A N/A self capacities N/A e N/A N/A N/A fs N/A N/A N/A N/A self edges N/A e N/A 0 N/A N/A np append N/A fs N/A N/A N/A N/A self edges N/A e N/A 0 N/A N/A N/A self edges N/A e N/A 1 N/A N/A directed_edges N/A e N/A N/A self edges N/A e N/A N/A directed_capacities N/A e N/A N/A N/A self capacities N/A e N/A max_flux N/A e N/A N/A N/A directed_edges N/A e None N/A N/A directed_capacities N/A e 0 N/A N/A N/A max_flux N/A e 0 N/A N/A N/A fs N/A N/A N/A N/A self edges N/A e N/A 1 N/A N/A np append N/A fs N/A N/A N/A N/A self edges N/A e N/A 1 N/A N/A N/A self edges N/A e N/A 0 N/A N/A inverted_edges N/A e N/A N/A self edges N/A e N/A N/A inverted_capacities N/A e N/A max_flux N/A e N/A N/A N/A inverted_edges N/A e None N/A N/A inverted_capacities N/A e 0 N/A big_p N/A N/A self BFS_path s t fs N/A N/A N/A len big_p 0 N/A N/A optimal True N/A N/A u_list N/A N/A e N/A range N/A len directed_edges N/A N/A N/A directed_edges N/A e N/A N/A p big_p N/A N/A N/A N/A directed_edges N/A e p N/A N/A N/A N/A u_list append N/A directed_capacities N/A e N/A N/A inverted_edges N/A e N/A N/A p big_p N/A N/A N/A N/A inverted_edges N/A e p N/A N/A N/A N/A u_list append N/A inverted_capacities N/A e N/A big_fi N/A min u_list N/A v N/A v big_fi N/A e N/A range N/A len directed_edges N/A N/A N/A N/A len N/A N/A N/A np where N/A N/A directed_edges N/A e big_p N/A 0 1 N/A N/A N/A max_flux N/A e N/A N/A max_flux N/A e big_fi N/A e N/A range N/A len inverted_edges N/A N/A N/A N/A len N/A N/A N/A np where N/A N/A directed_edges N/A e big_p N/A 0 1 N/A N/A N/A max_flux N/A e N/A N/A max_flux N/A e big_fi N/A N/A N/A self edges max_flux N/A tsp_hamilton_cycle N/A N/A self start N/A N/A N/A sorted_edges N/A N/A np argsort N/A self costs N/A constraints N/A N/A N/A self costs copy N/A N/A N/A constraints fill None N/A N/A self upper_bound 0 N/A N/A self final_x None N/A edges N/A N/A np array N/A i N/A i N/A self edges N/A opt_c N/A np Infinity N/A N/A self oriented N/A N/A tsp only on unoriented graph N/A N/A problems N/A N/A np array N/A dtype N/A np object N/A problems N/A N/A np append problems None N/A N/A problems N/A 0 constraints N/A N/A N/A len problems 0 N/A N/A _ N/A problems N/A 0 N/A N/A N/A np delete problems 0 N/A one_tree N/A N/A np array N/A dtype N/A np int N/A chosen N/A N/A np empty N/A len edges dtype N/A np bool N/A N/A N/A chosen fill False N/A i sorted_edges N/A N/A N/A N/A constraints N/A i None N/A N/A N/A N/A constraints N/A i 1 N/A N/A N/A chosen N/A i True N/A N/A N/A len one_tree 0 N/A N/A one_tree N/A N/A np vstack N/A one_tree N/A N/A edges N/A i N/A N/A one_tree N/A N/A edges N/A i N/A i sorted_edges N/A N/A todo1 todo2 False N/A N/A N/A len one_tree 0 N/A N/A bincount N/A N/A np bincount N/A N/A np hstack one_tree N/A N/A N/A len bincount N/A N/A edges N/A i N/A 0 N/A N/A N/A N/A bincount N/A N/A N/A edges N/A i N/A 0 1 N/A N/A todo1 True N/A N/A todo1 True N/A N/A N/A len bincount N/A N/A edges N/A i N/A 1 N/A N/A N/A N/A N/A N/A np bincount N/A N/A np hstack one_tree N/A N/A N/A edges N/A i N/A 1 1 N/A N/A todo2 True N/A N/A todo2 True N/A N/A todo1 todo2 True N/A cycle False N/A N/A N/A len one_tree 0 N/A N/A cycle N/A N/A self is_cyclic N/A N/A self edges_to_fs N/A N/A np vstack N/A one_tree N/A N/A edges N/A i N/A N/A N/A N/A constraints N/A i None todo1 todo2 N/A cycle N/A N/A N/A chosen N/A i True N/A N/A N/A len one_tree 0 N/A N/A one_tree N/A N/A np vstack N/A one_tree N/A N/A edges N/A i N/A N/A one_tree N/A N/A edges N/A i N/A N/A N/A len N/A edges N/A chosen N/A N/A self n 1 N/A N/A N/A i N/A sorted_edges N/A N/A chosen N/A N/A N/A N/A N/A np any N/A one_tree i N/A N/A N/A N/A len one_tree 0 N/A N/A one_tree N/A N/A np vstack N/A one_tree N/A N/A edges N/A i N/A N/A one_tree N/A N/A edges N/A i N/A N/A chosen N/A i True N/A N/A lowerbound N/A N/A np sum N/A N/A self costs N/A chosen N/A N/A lowerbound opt_c N/A N/A N/A N/A N/A np all N/A N/A N/A np bincount N/A N/A np hstack one_tree 2 N/A N/A N/A lowerbound opt_c N/A N/A opt_c lowerbound N/A N/A node N/A N/A np argmax N/A N/A np bincount N/A N/A np hstack one_tree N/A eds N/A N/A self edges N/A N/A N/A np bitwise_or N/A constraints 1 N/A constraints 0 N/A N/A N/A len eds 0 N/A N/A N/A N/A N/A np sum N/A N/A N/A np hstack eds node 2 N/A N/A N/A min_cost N/A np Infinity N/A i sorted_edges N/A N/A N/A N/A node N/A edges N/A i N/A N/A N/A self costs N/A i min_cost N/A N/A branch_i i N/A N/A constraints N/A branch_i 0 N/A cycle N/A N/A self is_cyclic N/A N/A self edges_to_fs N/A edges N/A N/A constraints 1 N/A N/A cycle N/A N/A problems N/A N/A np append problems None N/A N/A problems N/A -1 constraints N/A N/A constraints N/A branch_i 1 N/A cycle N/A N/A self is_cyclic N/A N/A self edges_to_fs N/A edges N/A N/A constraints 1 N/A N/A cycle N/A N/A problems N/A N/A np append problems None N/A N/A problems N/A -1 constraints N/A N/A edges N/A N/A constraints 1 N/A tsp N/A N/A self start N/A N/A N/A res N/A N/A nodes N/A N/A np array N/A i N/A i N/A range N/A self n N/A visited N/A N/A np empty N/A self n dtype N/A np bool N/A N/A N/A visited fill False N/A N/A visited N/A start True N/A node start N/A N/A False visited N/A N/A tree N/A cKDTree N/A N/A self nodes N/A N/A visited N/A nearest N/A N/A N/A tree query N/A N/A self nodes N/A node k 1 N/A 1 N/A t N/A N/A nodes N/A N/A visited N/A nearest N/A N/A N/A res append N/A node t N/A N/A visited N/A t True N/A node t N/A N/A res N/A node start N/A N/A