| 186 | } |
| 187 | |
| 188 | void Remove( PathNode* pNode ) |
| 189 | { |
| 190 | #ifdef DEBUG_PATH_DEEP |
| 191 | printf( "Closed remove: " ); |
| 192 | graph->PrintStateInfo( pNode->state ); |
| 193 | printf( " total=%.1f\n", pNode->totalCost ); |
| 194 | #endif |
| 195 | MPASSERT( pNode->inClosed == 1 ); |
| 196 | MPASSERT( pNode->inOpen == 0 ); |
| 197 | |
| 198 | pNode->inClosed = 0; |
| 199 | } |
| 200 | |
| 201 | private: |
| 202 | ClosedSet( const ClosedSet& ); |
nothing calls this directly
no test coverage detected