dai::Region Class Reference

A Region is a set of variables with a counting number. More...

#include <dai/regiongraph.h>

Inheritance diagram for dai::Region:
dai::VarSet dai::SmallSet< Var >

List of all members.

Public Member Functions

 Region ()
 Default constructor.
 Region (const VarSet &x, Real c)
 Construct from a set of variables and a counting number.
const Realc () const
 Returns constant reference to counting number.
Realc ()
 Returns reference to counting number.

Private Attributes

Real _c
 Counting number.

Detailed Description

A Region is a set of variables with a counting number.


Constructor & Destructor Documentation

dai::Region::Region (  )  [inline]

Default constructor.

dai::Region::Region ( const VarSet x,
Real  c 
) [inline]

Construct from a set of variables and a counting number.


Member Function Documentation

const Real& dai::Region::c (  )  const [inline]

Returns constant reference to counting number.

Real& dai::Region::c (  )  [inline]

Returns reference to counting number.


Member Data Documentation

Real dai::Region::_c [private]

Counting number.


The documentation for this class was generated from the following file:
Generated on Sun May 9 16:51:37 2010 for libDAI by  doxygen 1.6.3