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
|
@ -1,11 +1,11 @@
|
|||
GXX=g++
|
||||
DEBUG=-g
|
||||
GXXFLAGS=$(DEBUG) -Wall -pedantic
|
||||
LD=g++
|
||||
LDFLAGS=-lm
|
||||
GXX = g++
|
||||
DEBUG = -g
|
||||
GXXFLAGS = $(DEBUG) -Wall -pedantic
|
||||
LD = g++
|
||||
LDFLAGS = -lm
|
||||
|
||||
TARGET = guinumo
|
||||
HEADER=guinumo.hh
|
||||
HEADER = guinumo.hh
|
||||
|
||||
all : ${TARGET}
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include "point.hh"
|
||||
|
||||
using namespace std;
|
||||
using std::string;
|
||||
|
||||
|
||||
int main(int argc, char ** argv)
|
||||
|
@ -31,8 +30,8 @@ int main(int argc, char ** argv)
|
|||
Server server(apfile, refptfile) ;
|
||||
//server.createClient() ;
|
||||
//server.monitorClient(0, ALGO_CONTINU_FRBHM) ;
|
||||
string logfile = argv[4];
|
||||
string testfile = argv[3];
|
||||
string logfile = argv[4];
|
||||
server.radar_exp(logfile, testfile);
|
||||
|
||||
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".
|
||||
makeReferencePointListFromFile(ref_pt_file.c_str()) ; // Initialisation de "reference_point_list".
|
||||
|
||||
/*if (! checkTopology()) // Vérifications.
|
||||
{
|
||||
cout << "Topology flawed.\nExiting program." << endl ;
|
||||
exit(1) ; // Si problème, on quitte.
|
||||
}*/
|
||||
/* *** À commenter pour utiliser les mesures centrées mobile de Fred */
|
||||
if (! checkTopology()) // Vérifications.
|
||||
{
|
||||
cerr << "Topology flawed. Exiting program." << endl ;
|
||||
exit(1) ; // Si problème, on quitte.
|
||||
}
|
||||
/* Fin du bloc à commenter *** */
|
||||
|
||||
makeReferencePointDistances() ; // Initialisation de "reference_point_matrix".
|
||||
makeApListFromFile(ap_file.c_str()) ; // Initialisation de "access_point_list".
|
||||
|
|
Loading…
Reference in New Issue