EgtNumKernel 2.3k1 :
- in ShortestPath aumentato il numero max di punti consentiti.
This commit is contained in:
+2
-2
@@ -21,7 +21,7 @@
|
||||
#include "ShortestPath.h"
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
unsigned
|
||||
long long unsigned
|
||||
ShortestPath::PointOpt( NODE* pPath)
|
||||
{
|
||||
// ciclo di tentativi di spostamento di un punto
|
||||
@@ -40,7 +40,7 @@ ShortestPath::PointOpt( NODE* pPath)
|
||||
ArcCost( pLast->nPos, pKth->pNext->nPos) ;
|
||||
if ( nTEST < nEXIST && ( nEXIST - nTEST) > nBestImprove) {
|
||||
nBestImprove = nEXIST - nTEST ;
|
||||
pBest = pKth ;
|
||||
pBest = pKth ;
|
||||
}
|
||||
}
|
||||
if ( nBestImprove == 0) {
|
||||
|
||||
Reference in New Issue
Block a user