libDAI
Classes | Namespaces
index.h File Reference

Defines the IndexFor, multifor, Permute and State classes, which all deal with indexing multi-dimensional arrays. More...

#include <vector>
#include <algorithm>
#include <map>
#include <dai/varset.h>

Go to the source code of this file.

Classes

class  dai::IndexFor
 Tool for looping over the states of several variables. More...
 
class  dai::Permute
 Tool for calculating permutations of linear indices of multi-dimensional arrays. More...
 
class  dai::multifor
 multifor makes it easy to perform a dynamic number of nested for loops. More...
 
class  dai::State
 Makes it easy to iterate over all possible joint states of variables within a VarSet. More...
 

Namespaces

 dai
 Namespace for libDAI.
 

Detailed Description

Defines the IndexFor, multifor, Permute and State classes, which all deal with indexing multi-dimensional arrays.