Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members

Pl2BTree::SPXRelation Class Reference

Collaboration diagram for Pl2BTree::SPXRelation:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SPXRelation (const vector< vector< bool > > &TCGMatrixHorizIP, const vector< vector< bool > > &TCGMatrixVertIP)
bool operator() (int i, int j) const

Private Attributes

const vector< vector< bool > > & TCGMatrixHoriz
const vector< vector< bool > > & TCGMatrixVert

Constructor & Destructor Documentation

Pl2BTree::SPXRelation::SPXRelation const vector< vector< bool > > &  TCGMatrixHorizIP,
const vector< vector< bool > > &  TCGMatrixVertIP
[inline]
 

Definition at line 128 of file pltobtree.h.

References TCGMatrixHoriz, and TCGMatrixVert.

00130          : TCGMatrixHoriz(TCGMatrixHorizIP),
00131            TCGMatrixVert(TCGMatrixVertIP)
00132          {}


Member Function Documentation

bool Pl2BTree::SPXRelation::operator() int  i,
int  j
const [inline]
 

Definition at line 243 of file pltobtree.h.

References TCGMatrixHoriz, and TCGMatrixVert.

00244 {
00245    if (TCGMatrixHoriz[i][j])
00246       return true;
00247    else if (TCGMatrixHoriz[j][i])
00248       return false;
00249    else if (TCGMatrixVert[j][i])
00250       return true;
00251    else if (TCGMatrixVert[i][j])
00252       return false;
00253    else
00254       return i < j;
00255 }


Member Data Documentation

const vector< vector<bool> >& Pl2BTree::SPXRelation::TCGMatrixHoriz [private]
 

Definition at line 137 of file pltobtree.h.

Referenced by operator()(), and SPXRelation().

const vector< vector<bool> >& Pl2BTree::SPXRelation::TCGMatrixVert [private]
 

Definition at line 138 of file pltobtree.h.

Referenced by operator()(), and SPXRelation().


The documentation for this class was generated from the following file:
Generated on Mon Apr 25 01:15:09 2005 for Parquete by doxygen 1.3.2