include/dai/doc.h File Reference
Contains additional doxygen documentation.
More...
Go to the source code of this file.
Detailed Description
Contains additional doxygen documentation.
- Idea:
- Adapt (part of the) guidelines in http://www.boost.org/development/requirements.html#Design_and_Programming
- Idea:
- Use "gcc -MM" to generate dependencies for targets: http://make.paulandlesley.org/autodep.html
- Idea:
- Disentangle structures. In particular, ensure that graphical properties are not entangled with probabilistic properties. For example, a FactorGraph contains several components:
- a BipartiteGraph
- an array of variable labels
- an array of variable state space sizes
- an array of pointers to factor value vectors In this way, each factor could be implemented differently, e.g., we could have some sparse factors, some noisy-OR factors, some dense factors, some arbitrary precision factors, etcetera.
- Idea:
- Use boost::uBLAS framework to deal with matrices, especially, with 2D sparse matrices. See http://www.boost.org/libs/numeric/ublas/doc/matrix_sparse.htm However: I read somewhere that boost::uBLAS concentrates more on correct implementation than on performance.
- Idea:
- Introduce naming scheme:
- all Vars should be named v_..., e.g. v_i instead of i
- all VarSets should be named vs_..., e.g. v_i instead of i
- all Factors should be named f_..., e.g. f_I instead of I
- all indices should be named _..., e.g. _k instead of k
- all iterators should be named i_, e.g. i_i is an iterator to i
- all const_iterators should be named ci_, e.g. ci_i is an iterator to i