libDAI
Public Member Functions | Private Attributes
dai::FRegion Class Reference

An FRegion is a factor with a counting number. More...

#include <dai/regiongraph.h>

Inheritance diagram for dai::FRegion:
dai::TFactor< T >

List of all members.

Public Member Functions

 FRegion ()
 Default constructor.
 FRegion (const Factor &x, Real c)
 Constructs from a factor 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

An FRegion is a factor with a counting number.


Constructor & Destructor Documentation

dai::FRegion::FRegion ( ) [inline]

Default constructor.

dai::FRegion::FRegion ( const Factor x,
Real  c 
) [inline]

Constructs from a factor and a counting number.


Member Function Documentation

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

Returns constant reference to counting number.

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

Returns reference to counting number.


Member Data Documentation

Counting number.


The documentation for this class was generated from the following file: