#include <PlToSP.h>
Collaboration diagram for parquetfp::SPYRelation:

Public Member Functions | |
| SPYRelation (vector< vector< bool > > &TCGMatrixHorizIP, vector< vector< bool > > &TCGMatrixVertIP) | |
| bool | operator() (unsigned i, unsigned j) |
Private Attributes | |
| vector< vector< bool > > & | TCGMatrixHoriz |
| vector< vector< bool > > & | TCGMatrixVert |
|
||||||||||||
|
Definition at line 145 of file PlToSP.h. References TCGMatrixHoriz, and TCGMatrixVert.
00146 : 00147 TCGMatrixHoriz(TCGMatrixHorizIP), TCGMatrixVert(TCGMatrixVertIP) 00148 {} |
|
||||||||||||
|
Definition at line 149 of file PlToSP.h. References TCGMatrixHoriz, and TCGMatrixVert.
00150 {
00151 if(TCGMatrixHoriz[i][j] == 1)
00152 return 1;
00153 else if(TCGMatrixHoriz[j][i] == 1)
00154 return 0;
00155 else if(TCGMatrixVert[j][i] == 1)
00156 return 0;
00157 else if(TCGMatrixVert[i][j] == 1)
00158 return 1;
00159 else
00160 {
00161 //cout<<"ERROR IN PL2SP SPY "<<i<<"\t"<<j<<endl;
00162 if(i<j)
00163 return 1 ;
00164 else
00165 return 0;
00166 }
00167 }
|
|
|
Definition at line 141 of file PlToSP.h. Referenced by operator()(), and SPYRelation(). |
|
|
Definition at line 142 of file PlToSP.h. Referenced by operator()(), and SPYRelation(). |
1.3.2