function for getting all permutations of a set of lists of unequal lengths
code cleanup
added a test for the combinations function
fixed combinations test with loop and added permutations-test
added a test case for a bigger bayes net from darwiche book page 127
-added bayesnet to parameter for faster testing. -implemented a function that resolves the set of variables used in a factor of a node, as variables are passed implicitly by the user (so far)
- changed way of getting vars used in a node's potential - started with implementation of summing-out of a variable
simplified way of node creation, by using convention to fill CPT with values
-refactored code: now you can get the probability for a given tuple -package exports are alphabetized -replaced inversemapping with hashtable lookup -fixed order of node-variables
fixed tests according to new way of node creation
fixed node-get-named-value-list because it was reversing the lists incorrectly
merged in uptream
Merge pull request #1 from ThomasSolti/master

Merge changes from ThomasSolti