#include <PlToSP.h>
Collaboration diagram for parquetfp::SPXRelation:
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 |
|
Definition at line 113 of file PlToSP.h. References TCGMatrixHoriz, and TCGMatrixVert.
00114 : 00115 TCGMatrixHoriz(TCGMatrixHorizIP), TCGMatrixVert(TCGMatrixVertIP) 00116 {} |
|
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 } |
|
Definition at line 109 of file PlToSP.h. Referenced by operator()(), and SPXRelation(). |
|
Definition at line 110 of file PlToSP.h. Referenced by operator()(), and SPXRelation(). |