libDAI
Classes | Namespaces | Typedefs | Functions
properties.h File Reference

Defines the Property and PropertySet classes, which are mainly used for managing parameters of inference algorithms. More...

#include <iostream>
#include <sstream>
#include <boost/any.hpp>
#include <map>
#include <vector>
#include <typeinfo>
#include <dai/exceptions.h>
#include <dai/util.h>
#include <boost/lexical_cast.hpp>

Go to the source code of this file.

Classes

class  dai::PropertySet
 Represents a set of properties, mapping keys (of type PropertyKey) to values (of type PropertyValue) More...
 

Namespaces

 dai
 Namespace for libDAI.
 

Typedefs

typedef std::string dai::PropertyKey
 Type of the key of a Property. More...
 
typedef boost::any dai::PropertyValue
 Type of the value of a Property. More...
 
typedef std::pair< PropertyKey, PropertyValue > dai::Property
 A Property is a pair of a key and a corresponding value. More...
 

Functions

std::ostream & dai::operator<< (std::ostream &os, const Property &p)
 Writes a Property object (key-value pair) to an output stream. More...
 

Detailed Description

Defines the Property and PropertySet classes, which are mainly used for managing parameters of inference algorithms.