rec_manage
def rec_manage(table)
Algorithm
A recursivity manager to build properly the base table. It must be used to map the numeric values into base values. This method allow contruction of hundreds of thousand values table
Parameters |
Type |
Description |
table |
list |
The initial Base table to complete |
- Returns
list : The fully builded Base table
Source Code
j=0
for i in range(9,len(table)):
table2=table[i][:]
table2=rec_table_construct_lvl1(table2,i+2,1,0)
table2=rec_table_construct_final(table2,i+2,1)
table2=rec_table_construct_final(table2,i+2,2)
table[i]=table2[:]
for i in range (9,18):
j=3
table2=table[i][:]
while(len(table2)<1000000):
table2=rec_table_construct_final(table2,i+2,j)
j+=1
table[i]=table2[:]
return table