Correction erreur précédente

Ré-ajout de l'appel à computeTopologyDistances() dans monitorClient()
pour le FRBHM continu, qui avait sauté lors du précédent commit.

git-svn-id: https://pif.pu-pm.univ-fcomte.fr/svn/loc@53 785a6c6c-259e-4ff1-8b91-dc31627914f0
This commit is contained in:
Matteo Cypriani 2008-07-10 08:43:09 +00:00
parent e9453590ef
commit 7155a90a9d
1 changed files with 6 additions and 5 deletions

View File

@ -2265,11 +2265,12 @@ void Server::monitorClient(const unsigned int &client_id, const ALGORITHM &algo)
case ALGO_CONTINU_FRBHM : /* Application de l'algorithme FRBHM continu */
cout << "--------FRBHM CONTINU------------" << endl ;
//computeFriisFromRefList();
for(unsigned int i= 0 ; i<E_current.size() ;i++)
{
friisFromList = computeFriisFromRefList(E_current[i],vm);
E_current[i] = fbcm_friis(vm, friisFromList);
}
computeTopologyDistances(&dst_matrix, E_previous, E_current) ; // On calcule les distances entre les points de E_previous et E_current, en tenant compte de la topologie).
for (unsigned int i = 0 ; i < E_current.size() ; i++)
{
friisFromList = computeFriisFromRefList(E_current[i], vm) ;
E_current[i] = fbcm_friis(vm, friisFromList) ;
}
pointFastViterbi = fastViterbiLike(client_id, dst_matrix) ;
fichier.open(filename.c_str(), std::ios::app);
cout << "Point selectionné: " << pointFastViterbi << endl;