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

parquetfp::SPXRelation Class Reference

#include <PlToSP.h>

Collaboration diagram for parquetfp::SPXRelation:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Private Attributes

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

Constructor & Destructor Documentation

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

Definition at line 113 of file PlToSP.h.

References TCGMatrixHoriz, and TCGMatrixVert.

00114                                                            : 
00115          TCGMatrixHoriz(TCGMatrixHorizIP), TCGMatrixVert(TCGMatrixVertIP)
00116          {}


Member Function Documentation

bool parquetfp::SPXRelation::operator() unsigned  i,
unsigned  j
[inline]
 

Definition at line 118 of file PlToSP.h.

References TCGMatrixHoriz, and TCGMatrixVert.

00119          {
00120             if(TCGMatrixHoriz[i][j] == 1)
00121                return 1;
00122             else if(TCGMatrixHoriz[j][i] == 1)
00123                return 0;
00124             else if(TCGMatrixVert[j][i] == 1)
00125                return 1;
00126             else if(TCGMatrixVert[i][j] == 1)
00127                return 0;
00128             else
00129             {
00130                //cout<<"ERROR IN PL2SP SPX "<<i<<"\t"<<j<<endl;
00131                if(i<j)
00132                   return 1;
00133                else
00134                   return 0;
00135             }
00136          }


Member Data Documentation

vector< vector<bool> >& parquetfp::SPXRelation::TCGMatrixHoriz [private]
 

Definition at line 109 of file PlToSP.h.

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

vector< vector<bool> >& parquetfp::SPXRelation::TCGMatrixVert [private]
 

Definition at line 110 of file PlToSP.h.

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


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