| Trees | Indices | Help |
|---|
|
|
object --+
|
list --+
|
Multi_list
a list of list
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
return all permutation of list where each element belongs to corresponding list of the multilist
example: multilist=[ [a,b,c],[a,b,d],[c,d] ]
list=[a,b,c]
->return=[ [a,b,c],[b,a,c] ]
multilist=[ [a,b,c],[a,b,d],[a,c,d] ]
list=[a,b,d]
->return=[ [a,b,d],[b,a,d],[b,d,a] ]
option: if the list is made of object, but multilist are data of this object,
you can use opt to check if list[i].opt in self[i]
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 17 00:26:53 2017 | http://epydoc.sourceforge.net |