Rien de très transcendant
Retouches mineures et décommentaire de checkTopology() dans le constructeur de Server. git-svn-id: https://pif.pu-pm.univ-fcomte.fr/svn/loc@78 785a6c6c-259e-4ff1-8b91-dc31627914f0
This commit is contained in:
parent
259ac54f32
commit
7a5fd431f4
|
@ -9,7 +9,6 @@
|
||||||
#include "point.hh"
|
#include "point.hh"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using std::string;
|
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char ** argv)
|
int main(int argc, char ** argv)
|
||||||
|
@ -31,8 +30,8 @@ int main(int argc, char ** argv)
|
||||||
Server server(apfile, refptfile) ;
|
Server server(apfile, refptfile) ;
|
||||||
//server.createClient() ;
|
//server.createClient() ;
|
||||||
//server.monitorClient(0, ALGO_CONTINU_FRBHM) ;
|
//server.monitorClient(0, ALGO_CONTINU_FRBHM) ;
|
||||||
string logfile = argv[4];
|
|
||||||
string testfile = argv[3];
|
string testfile = argv[3];
|
||||||
|
string logfile = argv[4];
|
||||||
server.radar_exp(logfile, testfile);
|
server.radar_exp(logfile, testfile);
|
||||||
|
|
||||||
cout << argv[0] << " : fin." << endl ;
|
cout << argv[0] << " : fin." << endl ;
|
||||||
|
|
|
@ -236,11 +236,13 @@ Server::Server(const string &ap_file, const string &ref_pt_file, const string &i
|
||||||
makeWaypointListFromFile(DEFAULT_WAYPOINT_FILE) ; // Initialisation de "waypoint_list" et "waypoint_matrix".
|
makeWaypointListFromFile(DEFAULT_WAYPOINT_FILE) ; // Initialisation de "waypoint_list" et "waypoint_matrix".
|
||||||
makeReferencePointListFromFile(ref_pt_file.c_str()) ; // Initialisation de "reference_point_list".
|
makeReferencePointListFromFile(ref_pt_file.c_str()) ; // Initialisation de "reference_point_list".
|
||||||
|
|
||||||
/*if (! checkTopology()) // Vérifications.
|
/* *** À commenter pour utiliser les mesures centrées mobile de Fred */
|
||||||
|
if (! checkTopology()) // Vérifications.
|
||||||
{
|
{
|
||||||
cout << "Topology flawed.\nExiting program." << endl ;
|
cerr << "Topology flawed. Exiting program." << endl ;
|
||||||
exit(1) ; // Si problème, on quitte.
|
exit(1) ; // Si problème, on quitte.
|
||||||
}*/
|
}
|
||||||
|
/* Fin du bloc à commenter *** */
|
||||||
|
|
||||||
makeReferencePointDistances() ; // Initialisation de "reference_point_matrix".
|
makeReferencePointDistances() ; // Initialisation de "reference_point_matrix".
|
||||||
makeApListFromFile(ap_file.c_str()) ; // Initialisation de "access_point_list".
|
makeApListFromFile(ap_file.c_str()) ; // Initialisation de "access_point_list".
|
||||||
|
|
Loading…
Reference in New Issue