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

Pl2BTree::SPYRelation Class Reference

Collaboration diagram for Pl2BTree::SPYRelation:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SPYRelation (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::SPYRelation::SPYRelation const vector< vector< bool > > &  TCGMatrixHorizIP,
const vector< vector< bool > > &  TCGMatrixVertIP
[inline]
 

Definition at line 144 of file pltobtree.h.

References TCGMatrixHoriz, and TCGMatrixVert.

00146          : TCGMatrixHoriz(TCGMatrixHorizIP),
00147            TCGMatrixVert(TCGMatrixVertIP)
00148          {}


Member Function Documentation

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

Definition at line 257 of file pltobtree.h.

References TCGMatrixHoriz, and TCGMatrixVert.

00258 {
00259    if (TCGMatrixHoriz[i][j])
00260       return true;
00261    else if (TCGMatrixHoriz[j][i])
00262       return false;
00263    else if (TCGMatrixVert[j][i])
00264       return false;
00265    else if (TCGMatrixVert[i][j])
00266       return true;
00267    else
00268       return i < j;
00269 }


Member Data Documentation

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

Definition at line 153 of file pltobtree.h.

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

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

Definition at line 154 of file pltobtree.h.

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


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