The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors > Class Template Reference

#include <cLinearConstrainFix.h>

Collaboration diagram for fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >:

List of all members.

Public Member Functions

 cLinearConstrainFix (unsigned int uiInNumberOfFactors=1, unsigned int uiInNumberOfConstrainFactors=1)
cLinearConstrainFixoperator+ (const cLinearConstrainFix &linInequiation)
void operator+= (const cLinearConstrainFix &linInequiation)
cLinearConstrainFixmult (tFactors dValue)
void print (ostream &outputSream)

Public Attributes

unsigned long ulNumberOfFactors
unsigned long ulNumberOfConstrainFactors
bool bGreaterEqual
vector< tFactors > vecFactors
tFactors constant
vector< tFactors > vecBounderyFactors

Detailed Description

template<class tFactors>
class fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >

Definition at line 81 of file cLinearConstrainFix.h.


Constructor & Destructor Documentation

template<class tFactors >
fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >::cLinearConstrainFix ( unsigned int  uiInNumberOfFactors = 1,
unsigned int  uiInNumberOfConstrainFactors = 1 
)

standardconstructor for a linear inequiation

Parameters:
uiInNumberOfFactorsThe number of factors
See also:
vecFactors in the linear formular.
ulNumberOfFactors
Parameters:
uiInNumberOfConstrainFactorsThe number of constrain/ bounderie factors
See also:
vecBounderyFactors that constrain the linear formular.
ulNumberOfConstrainFactors

Member Function Documentation

template<class tFactors >
cLinearConstrainFix& fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >::mult ( tFactors  dValue)

This method multiplies the inequiation with the given factor. If the factor is negativ the inequiation sign (

See also:
bGreaterEqual) will be switcht ( bGreaterEqual = ! bGreaterEqual ).
Parameters:
dValuethe value, with which to multiply this inequiation
Returns:
a reference to this inequiation
template<class tFactors >
cLinearConstrainFix& fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >::operator+ ( const cLinearConstrainFix< tFactors > &  linInequiation)

This operator adds the given linear inequiation to this inequiation. If the inequiation sign (

See also:
bGreaterEqual) is equal in both, all correspondending factors and the constant will be added, else they will be subtracted.
operator+=()
Parameters:
linInequiationthe inequiation to add to this inequiation
Returns:
a reference to this inequiation
template<class tFactors >
void fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >::operator+= ( const cLinearConstrainFix< tFactors > &  linInequiation)

This operator adds the given linear inequiation to this inequiation. If the inequiation sign (

See also:
bGreaterEqual) is equal in both, all correspondending factors and the constant will be added, else they will be subtracted.
operator+()
Parameters:
linInequiationthe inequiation to add to this inequiation
template<class tFactors >
void fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >::print ( ostream &  outputSream)

This method print the inequiation in a readebel form to the given output stream outputSream.

Parameters:
outputSreamthe stream wher to print this inequiation to

Member Data Documentation

template<class tFactors >
bool fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >::bGreaterEqual

If true the sign betwean the lower bound y factors (yu) constrain and the linear formular is an greater equal sign "<=", else it's an lower equal sign ">=" . (as seen from the linear formular)

Definition at line 111 of file cLinearConstrainFix.h.

template<class tFactors >
tFactors fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >::constant

The constant for the linear formular.

Definition at line 123 of file cLinearConstrainFix.h.

template<class tFactors >
unsigned long fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >::ulNumberOfConstrainFactors

The number of constrain/ bounderie factors vecBounderyFactors that constrain the linear formular.

See also:
vecBounderyFactors

Definition at line 97 of file cLinearConstrainFix.h.

template<class tFactors >
unsigned long fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >::ulNumberOfFactors

The number of factors vecFactors in the linear formular.

See also:
vecFactors

Definition at line 89 of file cLinearConstrainFix.h.

template<class tFactors >
vector< tFactors > fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >::vecBounderyFactors

The constrain/ bounderie factors for the constrain of the linear formular.

See also:
ulNumberOfConstrainFactors

Definition at line 131 of file cLinearConstrainFix.h.

template<class tFactors >
vector< tFactors > fib::algorithms::nLinearInequation::cLinearConstrainFix< tFactors >::vecFactors

The factors for the linear formular.

See also:
ulNumberOfFactors

Definition at line 118 of file cLinearConstrainFix.h.


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