Module Import alias ImportFrom alias Assign NameStore Dict FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Num body Return Num orelse If CompareEq NameLoad Num body Assert NameLoad Return AttributeLoad NameLoad attr TryExcept body Return SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore ListLoad Assign NameStore Set NameLoad While BoolOpAnd CompareLt Call NameLoad NameLoad NameLoad NameLoad body Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr DictComp NameLoad Call AttributeLoad NameLoad attr comprehension NameStore NameLoad CompareNotIn TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr For TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad BinOpAdd BinOpSub NameLoad Call NameLoad NameLoad Num body If CompareEq NameLoad Num body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr orelse For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad GeneratorExp BinOpMult SubscriptLoad NameLoad Index TupleLoad BinOpSub NameLoad Num NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Return SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad decorator_list Assign NameStore Dict FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Num body Return Num orelse If CompareEq NameLoad Num body Assert NameLoad Return AttributeLoad NameLoad attr TryExcept body Return SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore ListLoad Assign NameStore Set NameLoad While BoolOpAnd CompareLt Call NameLoad NameLoad NameLoad NameLoad body Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr DictComp NameLoad Call AttributeLoad NameLoad attr comprehension NameStore NameLoad CompareNotIn TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr For TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad BinOpAdd BinOpSub NameLoad Call NameLoad NameLoad Num body If CompareEq NameLoad Num body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad NameLoad orelse For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Call NameLoad GeneratorExp SubscriptLoad NameLoad Index TupleLoad BinOpSub NameLoad Num NameLoad comprehension NameStore NameLoad Return SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad decorator_list
N/A N/A itertools combi._python_toolbox nifty_collections N/A _length_of_recurrent_perm_space_cache N/A calculate_length_of_recurrent_perm_space N/A N/A k fbb N/A N/A N/A 
    Calculate the length of a recurrent `PermSpace`.
    
    `k` is the `n_elements` of the space, i.e. the length of each perm. `fbb`
    is the space's `FrozenBagBag`, meaning a bag where each key is the number
    of recurrences of an item and each count is the number of different items
    that have this number of recurrences. (See documentation of `FrozenBagBag`
    for more info.)
    
    It's assumed that the space is not a `CombSpace`, it's not fixed, not
    degreed and not sliced.
     N/A cache _length_of_recurrent_perm_space_cache N/A N/A N/A isinstance fbb N/A nifty_collections FrozenBagBag N/A N/A fbb N/A N/A nifty_collections FrozenBagBag fbb N/A N/A k 0 N/A N/A 1 N/A N/A N/A k 1 N/A N/A fbb N/A N/A fbb n_elements N/A N/A N/A N/A cache N/A N/A k fbb N/A N/A N/A KeyError N/A N/A N/A levels N/A N/A current_fbbs N/A fbb N/A N/A N/A N/A len levels k current_fbbs N/A N/A k_ N/A k N/A len levels N/A N/A N/A levels append N/A fbb_ N/A N/A fbb_ get_sub_fbbs_for_one_key_removed N/A fbb_ current_fbbs N/A N/A k_ fbb_ cache N/A current_fbbs N/A set N/A N/A itertools chain N/A N/A N/A levels N/A -1 values N/A N/A k_ level N/A enumerate N/A reversed levels N/A N/A k N/A len levels 1 N/A N/A N/A k_ 1 N/A N/A N/A fbb_ sub_fbb_bag N/A N/A level items N/A N/A N/A cache N/A N/A k_ fbb_ N/A fbb_ n_elements N/A N/A N/A fbb_ sub_fbb_bag N/A N/A level items N/A N/A N/A cache N/A N/A k_ fbb_ N/A sum N/A N/A N/A cache N/A N/A N/A k_ 1 sub_fbb factor N/A N/A sub_fbb factor N/A N/A sub_fbb_bag items N/A N/A cache N/A N/A k fbb N/A N/A _length_of_recurrent_comb_space_cache N/A calculate_length_of_recurrent_comb_space N/A N/A k fbb N/A N/A N/A 
    Calculate the length of a recurrent `CombSpace`.
    
    `k` is the `n_elements` of the space, i.e. the length of each perm. `fbb`
    is the space's `FrozenBagBag`, meaning a bag where each key is the number
    of recurrences of an item and each count is the number of different items
    that have this number of recurrences. (See documentation of `FrozenBagBag`
    for more info.)
    
    It's assumed that the space is not fixed, not degreed and not sliced.
     N/A cache _length_of_recurrent_comb_space_cache N/A N/A N/A isinstance fbb N/A nifty_collections FrozenBagBag N/A N/A fbb N/A N/A nifty_collections FrozenBagBag fbb N/A N/A k 0 N/A N/A 1 N/A N/A N/A k 1 N/A N/A fbb N/A N/A fbb n_elements N/A N/A N/A N/A cache N/A N/A k fbb N/A N/A N/A KeyError N/A N/A N/A levels N/A N/A current_fbbs N/A fbb N/A N/A N/A N/A len levels k current_fbbs N/A N/A k_ N/A k N/A len levels N/A N/A N/A levels append N/A fbb_ N/A N/A fbb_ get_sub_fbbs_for_one_key_and_previous_piles_removed N/A fbb_ current_fbbs N/A N/A k_ fbb_ cache N/A current_fbbs N/A set N/A N/A itertools chain N/A N/A N/A levels N/A -1 values N/A N/A k_ level N/A enumerate N/A reversed levels N/A N/A k N/A len levels 1 N/A N/A N/A k_ 1 N/A N/A N/A fbb_ sub_fbbs N/A N/A level items N/A N/A N/A cache N/A N/A k_ fbb_ N/A len sub_fbbs N/A N/A N/A fbb_ sub_fbbs N/A N/A level items N/A N/A N/A cache N/A N/A k_ fbb_ N/A sum N/A N/A cache N/A N/A N/A k_ 1 sub_fbb N/A sub_fbb sub_fbbs N/A N/A cache N/A N/A k fbb N/A