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::cEvaluePositionListLimit Class Reference

#include <cEvaluePositionListLimit.h>

Inheritance diagram for fib::cEvaluePositionListLimit:
Collaboration diagram for fib::cEvaluePositionListLimit:

List of all members.

Public Member Functions

 cEvaluePositionListLimit (const unsigned long long ulInSortEverAddedPointsList=0, const cDomainVectorBasis *pInVecDomainDimension=NULL, const bool bInDeleteEmptyPoints=true, const unsigned long long ulInMaxPointsInList=0, const unsigned long long ulInMaxEvalueCalls=0)
 cEvaluePositionListLimit (const cEvaluePositionListLimit &evaluePositionListMemLimit)
virtual ~cEvaluePositionListLimit ()
virtual bool evaluePosition (const cVectorPosition &vPosition, const list< cVectorProperty > &vProperties)
- Public Member Functions inherited from fib::cEvaluePositionList
 cEvaluePositionList ()
void clear ()
void sortPositionsData (bool bDeleteEmptyPoints=true)
- Public Member Functions inherited from fib::iEvaluePosition
virtual ~iEvaluePosition ()

Public Attributes

unsigned long long ulSortEverAddedPointsList
unsigned long long ulNewPositionsInsertedAfterLastSort
cDomainVectorBasispVecDomainDimension
bool bDeleteEmptyPoints
unsigned long long ulMaxPointsInList
unsigned long long ulMaxEvalueCalls
unsigned long long ulEvalueCalls
- Public Attributes inherited from fib::cEvaluePositionList
list< pair< cVectorPosition,
list< cVectorProperty > > > 
liEvaluedPositionData

Additional Inherited Members

- Static Public Member Functions inherited from fib::cEvaluePositionList
static void sortPositionsData (list< pair< cVectorPosition, list< cVectorProperty > > > *liEvaluedPositionData, bool bDeleteEmptyPoints=true)
static bool lowerPositionPair (const pair< cVectorPosition, list< cVectorProperty > > &paPosition1, const pair< cVectorPosition, list< cVectorProperty > > &paPosition2)
static list< cVectorPropertymergeProperties (const list< cVectorProperty > &liProperties1, const list< cVectorProperty > &liProperties2)
static doubleFib distanceOfProperties (const list< cVectorProperty > &liPropertiesOriginal, const list< cVectorProperty > &liPropertiesGiven)
static cFibElementtoFibObject (const cVectorPosition &vecPosition, const list< cVectorProperty > &liProperties)
static void printPositionsData (const list< pair< cVectorPosition, list< cVectorProperty > > > &liEvaluedPositionData, ostream &strOutput)

Detailed Description

Definition at line 64 of file cEvaluePositionListLimit.h.


Constructor & Destructor Documentation

fib::cEvaluePositionListLimit::cEvaluePositionListLimit ( const unsigned long long  ulInSortEverAddedPointsList = 0,
const cDomainVectorBasis pInVecDomainDimension = NULL,
const bool  bInDeleteEmptyPoints = true,
const unsigned long long  ulInMaxPointsInList = 0,
const unsigned long long  ulInMaxEvalueCalls = 0 
)

standardconstructor

Parameters:
ulInSortEverAddedPointsListThe number of positions, which should be added to the positionslist, befor it is sorted and reduced. (
See also:
ulSortEverAddedPointsList) If 0 this option is deactivated (no check will be executed).
Parameters:
pInVecDomainDimensionThe dimension domain for the positions. No position outside this domain will be added. If NULL no check will be executed. (
See also:
pVecDomainDimension)
Parameters:
bInDeleteEmptyPointsif true points without properties will be deleted when the positionslist is reduced, else (if false) points without properties won't be deleted (
See also:
bDeleteEmptyPoints)
Parameters:
ulInMaxPointsInListthe maximum number of points in the (sorted) list of the points evalued (
See also:
liEvaluedPositionData); if the sorted list
liEvaluedPositionData has more than ulInMaxPointsInList point, the evalue call will return false; If ulInMaxPointsInList is 0 this option is deactivated (no check will be executed). (
ulMaxPointsInList)
Parameters:
ulInMaxEvalueCallsthe maximum number of calls in the
See also:
evaluePosition() will be called befor it returns false; if the evaluePosition() was called more than ulInMaxEvalueCalls times, it will return false; If ulInMaxEvalueCalls is 0 this option is deactivated (no check will be executed). (
ulMaxEvalueCalls)
fib::cEvaluePositionListLimit::cEvaluePositionListLimit ( const cEvaluePositionListLimit evaluePositionListMemLimit)

copyconstructor

Parameters:
evaluePositionListMemLimitthe cEvaluePositionListLimit object to copy
virtual fib::cEvaluePositionListLimit::~cEvaluePositionListLimit ( )
virtual

destructor


Member Function Documentation

virtual bool fib::cEvaluePositionListLimit::evaluePosition ( const cVectorPosition vPosition,
const list< cVectorProperty > &  vProperties 
)
virtual

The method with wich the evalued points with ther properties are inserted. Everytime a point (to evalue) is reached in the evaluation, this method is called with the position and the properties of the point and stores the copies of this data to the end of the list

See also:
liEvaluedPositionData .
liEvaluedPositionData
Parameters:
vPositionthe position of the point, which is evalued
vPropertiesa list of the properties of the point

Reimplemented from fib::cEvaluePositionList.


Member Data Documentation

bool fib::cEvaluePositionListLimit::bDeleteEmptyPoints

If true points without properties will be deleted when the positionslist is reduced, else (if false) points without properties won't be deleted.

Definition at line 100 of file cEvaluePositionListLimit.h.

cDomainVectorBasis* fib::cEvaluePositionListLimit::pVecDomainDimension

The dimension domain for the positions. No position outside this domain will be added. If NULL no check will be executed.

Definition at line 93 of file cEvaluePositionListLimit.h.

unsigned long long fib::cEvaluePositionListLimit::ulEvalueCalls

The count how much the evaluePosition() method was called.

See also:
ulMaxEvalueCalls

Definition at line 128 of file cEvaluePositionListLimit.h.

unsigned long long fib::cEvaluePositionListLimit::ulMaxEvalueCalls

The maximum number of calls in the

See also:
evaluePosition() will be called befor it returns false; if the evaluePosition() was called more than ulInMaxEvalueCalls times, it will return false. If ulInMaxEvalueCalls is 0 this option is deactivated (no check will be executed). (
ulMaxEvalueCalls)
ulEvalueCalls

Definition at line 121 of file cEvaluePositionListLimit.h.

unsigned long long fib::cEvaluePositionListLimit::ulMaxPointsInList

The maximum number of points in the (sorted) list of the points evalued (

See also:
liEvaluedPositionData); if the sorted list
liEvaluedPositionData has more than ulInMaxPointsInList point, the evalue call will return false. If ulInMaxPointsInList is 0 this option is deactivated (no check will be executed).

Definition at line 110 of file cEvaluePositionListLimit.h.

unsigned long long fib::cEvaluePositionListLimit::ulNewPositionsInsertedAfterLastSort

The number of points inserted after the last

See also:
sortPositionsData() call because of
ulSortEverAddedPointsList .
ulSortEverAddedPointsList

Definition at line 85 of file cEvaluePositionListLimit.h.

unsigned long long fib::cEvaluePositionListLimit::ulSortEverAddedPointsList

The number of positions, which should be added to the positionslist, befor it is sorted and reduced. If this bounderie is reached, the list with the positions and ther properties will be sorted.

See also:
ulNewPositionsInsertedAfterLastSort
sortPositionsData()

Definition at line 77 of file cEvaluePositionListLimit.h.


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