Implemented factor SequenceBudget.
Corrected a bug in CountCommonValues of FactorSequenceCompressor - forgot to count the sentence variable.
Added reader for factor SequenceBudget.
Added factors FactorGeneralTree.h and FactorGeneralTreeCounts.h. TODO: test the latter.
Added Python wrappers to handle the remaining factors.
Fixed a crash in FactorGeneralTreeCounts.h
Fixed several bugs in FactorGeneralTreeCounts.
Fixed a bug in the budget projection function.
Small fixes.
Added an example in Python for grid factor graphs with diversity-based budgets.
Fixed bug in grid diversity example -- too many budget factors were being created.
Added FactorBinaryTree.
Added compression budget factor.
Add factor FactorBinaryTreeCounts
Added some methods to obtain the primal/dual variables after running AD3
Changed Factor CompressionBudget so that it allows handling words that do not count to the budget.
Merge branch 'summarization' of https://github.com/andre-martins/AD3 into summarization
Added counts-for-budget functionality in the BinaryTreeCounts factor; allow potentials for counts of internal nodes.
Changed the way path_bin variables are handled when state is a budget state.
Added max num bins functionality to FactorBinary/GeneralTreeCounts.