Giter Site home page Giter Site logo

a-star-algorithm's Introduction

#######################################################

RESOLUTION DU PROBLEME DU PLUS COURT CHEMIN

#######################################################

CE TRAVAIL A ETE ELABORE PAR:
  JEDOUI Kacem
  SFAR Sarra

lien Github pour le projet : https://github.com/jkacem/projet-INFO-2019

#######################################################

On retrouve ici
  les scripts.c
  un dossier Include contenant tout les fichier d'en-tête
	un MAKEFILE
	un Rapport.pdf

########################################################

Concernant le script de test testLectureGraphe.c :
  Il s'agit d'un test unitaire permettant la verification de la lecture du fichier,
  il vérifie l'ensemble des fonctions réalisées dans lecture.c
  Ici On a utilise graphe2.txt

pour compiler et excecuter ce fichier (Sans le Makefile)
  gcc testLectureGraphe.c lectureGraphe.c afficheGraphe.c -o testLectureGraphe

##################################################################################

Concernant le fichier testAfficheGraphe.c :
  Il permet d'afficher les sommets et leurs voisins et vérifier l'ensemble des fonctions réalisées dans affiche.c

pour compiler et excecuter ce fichier (Sans le Makefile)
  gcc testAfficheGraphe.c lectureGraphe.c afficheGraphe.c -o testAfficheGraphe

#################################################################################

Concernant le fichier testaStar.c
  C'est le fichier test du script il permet de vérifier les fonctions réalisées dans aStar.c

pour compiler et excecuter ce fichier (Sans le Makefile)
  gcc testaStar.c lectureGraphe.c afficheGraphe.c aStar.c -o testaStar

#################################################################################

Concernant le fichier ReseauRoutierAmericain.c
  Il permet d'afficher le chemain entre un point a et un point b saisi au clavier sur un réseau

Pour compiler et excecuter ce fichier (Sans le Makefile) : il faut vérifier qu'un fichier csv est bien dans le dossier !!
  gcc ReseauRoutierAmerican.c aStar.c lectureGraphe.c afficheGraphe.c -o ReseauRoutierAmericain

###################################################################################

Concernant le Make:
  il suffit de taper "make" dans le terminal pour compiler tous les fichiers tests.
    voilà un résultat du make qui confirme la compilation:
    {
      gcc -o testAfficheGraphe testAfficheGraphe.o lectureGraphe.o afficheGraphe.o
      gcc -o testLectureGraphe testLectureGraphe.o lectureGraphe.o afficheGraphe.o
      gcc -o testaStar testaStar.o lectureGraphe.o afficheGraphe.o aStar.o

      gcc -c -I Include ReseauRoutierAmericain.c
      gcc -o ReseauRoutierAmericain ReseauRoutierAmericain.o lectureGraphe.o afficheGraphe.o aStar.o
      }

  pour executer:
    ReseauRoutierAmericain : "./ReseauRoutierAmericain"
    testaStar : "./testaStar"
    testAfficheGraphe : "./testAfficheGraphe"
    testLectureGraphe : "./testLectureGraphe"

a-star-algorithm's People

Contributors

kacemjd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.