WOW !! MUCH LOVE ! SO WORLD PEACE !
Fond bitcoin pour l'amélioration du site: 1memzGeKS7CB3ECNkzSn2qHwxU6NZoJ8o
  Dogecoin (tips/pourboires): DCLoo9Dd4qECqpMLurdgGnaoqbftj16Nvp


Home | Publier un mémoire | Une page au hasard

 > 

Conception et réalisation d'un portail web de location de voiture en Algérie.

( Télécharger le fichier original )
par abdelkrim &mourad &ibrahim hadjadj &lameroui &saibi
université akli mohaend oulhedj bouira - Licence 2015
  

précédent sommaire

Bitcoin is a swarm of cyber hornets serving the goddess of wisdom, feeding on the fire of truth, exponentially growing ever smarter, faster, and stronger behind a wall of encrypted energy

AnnexeA

Algorithme de recherche

Objectif de l'algorithme : L'objectif principal de ce algorithme c'est la recherche autoumatique dans les wilayas voisines, il est appeléquant la recherche dans une wilaya ne retourne aucun résultat.on peut offre que c'est une recherche intelligente.

Les entrées de l'algorithme : identificateur de wilaya (classement de wilaya dans l'algerie).

Les sorties de l'algorithme : les identificateurs des wilayas voisines (pour utiliser dans la selection de base de donneés).

Le code d'algorithme :

Function cherche (id) switch (id){

case1 : $a = 37; $b = 8; $c =

32; $d =

47; $e =

11; $f =

0; $g = 0; $h = 0; break;

case2 : $a = 3; $b = 48; $c =

38; $d =

44; $e =

42; $f =

0; $g = 0; $h = 0break;

case3 :a=47; b = 32;c=17; d = 14;e=0; f = 0; $g = 0; $h = 0; break;

case4 : $a = 5;$b = 40;$c = 12;$d = 41;$e = 42;$f = 25;$g = 43;$h = 0;break; case5 : $a = 7; $b = 40; $c = 4; $d = 43; $e = 19; $f = 28; $g = 0; $h = 0; break; case6 : $a = 18; $b = 19; $c = 34; $d = 10; $e = 15; $f = 0; $g = 0; $h = 0; break; case7 : $a = 39; $b = 40; $c = 5; $d = 28; $e = 17; $f = 0; $g = 0; $h = 0; break; case8 : $a = 1; $b = 37; $c = 32; $d = 45; $e = 0; $f = 0; $g = 0; $h = 0; break; case9 : $a = 16; $b = 35; $c = 10; $d = 26; $e = 44; $f = 42; $g = 0; $h = 0; break; case10 : $a = 28; $b = 34; $c = 6; $d = 15; $e = 35; $f = 9; $g = 26; $h = 0; break;

Annexe A Algorithme de recherche.

$a=11;

$b=30; $c=0; $d=0; $e=0; $f=0; $g=0; $h=0; break;

$a=10;

$b=6; $c=19; $d=28;

 

$e=0;

$f=0;

$g=0; $h=0; break;

$a=16;

$b=15;

$c=10;

$d=9;

$e=0;

$f=0;

$g=0; $h=0; break;

$a=23;

$b=24;

$c=41;

$d=0;

$e=0;

$f=0;

$g=0; $h=0; break;

56

case11 : $a = 33; $b = 1; $c = 30; $d = 47; $e = 0; $f = 0; $g = 0; $h = 0; break; case12 : $a = 41; $b = 40; $c = 4; $d = 39; $e = 0; $f = 0; $g = 0; $h = 0; break; case13 : $a = 46; $b = 22; $c = 45; $d = 0; $e = 0; $f = 0; $g = 0; $h = 0; break; case14 : $a = 17; $b = 26; $c = 38; $d = 48; $e = 29; $f = 20; $g = 32; $h = 3; break; case15 : $a = 35; $b = 6; $c = 10; $d = 0; $e = 0; $f = 0; $g = 0; $h = 0; break; case16 : $a = 35; $b = 9; $c = 42; $d = 0; $e = 0; $f = 0; $g = 0; $h = 0; break; case17 : $a = 14; $b = 26; $c = 28; $d = 7; $e = 3; $f = 47; $g = 30; $h = 0; break; case18 : $a = 21; $b = 43; $c = 19; $d = 6; $e = 0; $f = 0; $g = 0; $h = 0; break; case19 : $a = 18; $b = 6; $c = 34; $d = 5; $e = 43; $f = 0; $g = 0; $h = 0; break; case20 : $a = 14; $b = 29; $c = 22; $d = 45; $e = 32; $f = 0; $g = 0; $h = 0; break; case21 : $a = 18; $b = 23; $c = 25; $d = 24; $e = 43; $f = 0; $g = 0; $h = 0; break; case22 : $a = 13; $b = 46; $c = 31; $d = 29; $e = 20; $f = 45; $g = 0; $h = 0; break; case23 : $a = 36; $b = 24; $c = 21; $d = 0; $e = 0; $f = 0; $g = 0; $h = 0; break; case24 : $a = 41; $b = 36; $c = 23; $d = 21; $e = 25; $f = 4; $g = 0; $h = 0; break; case25 : $a = 4; $b = 24; $c = 21; $d = 43; $e = 0; $f = 0; $g = 0; $h = 0; break; case26 : $a = 10; $b = 9; $c = 44; $d = 38; $e = 14; $f = 17; $g = 28; $h = 0; break; case27 : $a = 48; $b = 2; $c = 27; $d = 31; $e = 0; $f = 0; $g = 0; $h = 0; break; case28 : $a = 10; $b = 26; $c = 17; $d = 7; $e = 5; $f = 19; $g = 34; $h = 0; break; case29 : $a = 20; $b = 22; $c = 31; $d = 27; $e = 48; $f = 14; $g = 0; $h = 0; break; case30 : $a = 33; $b = 39; $c = 47; $d = 17; $e = 11; $f = 0; $g = 0; $h = 0; break; case31 : $a = 46; $b = 27; $c = 29; $d = 22; $e = 0; $f = 0; $g = 0; $h = 0; break; case32 : $a = 45; $b = 3; $c = 8; $d = 1; $e = 47;f=14; g = 20;h=0; break; case 33 : case 34 : case 35 : case 36 : case 37 : $a=1; $b=8; $c=0; $d=0; $e=0; $f=0; $g=0; $h=0; break; case 38 : $a=2; $b=48; $c=14; $d=44; $e=26; $f=0; $g=0; $h=0; break; case 39 : $a=30; $b=12; $c=40; $d=7; $e=0; $f=0; $g=0; $h=0; break; case 40 : $a=4; $b=5; $c=7; $d=12; $e=39; $f=0; $g=0; $h=0; break; case 41 : $a=36; $b=24; $c=4; $d=12; $e=0; $f=0; $g=0; $h=0; break; case 42 : $a=2; $b=44; $c=9; $d=16; $e=0; $f=0; $g=0; $h=0; break;

Annexe A Algorithme de recherche.

$a=18;

$b=19;

$c=5;

$d=4; $e=25; $f=21; $g=0; $h=0; break;

$a=2;

$b=38;

$c=26;

$d=9; $e=42; $f=0; $g=0; $h=0; break;

$a=8;

$b=32;

$c=13;

$d=22; $e=20; $f=0; $g=0; $h=0; break;

$b=32;

$c=1; $d=11; $e=30;

$f=17;

$g=0; $h=0; break;

$b=29;

$c=14; $d=38; $e=2;

$f=0;

$g=0; $h=0; break }

57

case 43 : case 44 : case 45 : case 46 : $a=13; $b=31; $c=22; $d=0; $e=0; $f=0; $g=0; $h=0; break; case 47 : $a=3; default : $a=27; reponse = »select*fromagence, vehiculewherevehicule.agence id agence = agence.id agence and(wilaya id wilayain('$a',' $b',' $c',' $d',' $e',' $f',' $g',' $h'))»; }

précédent sommaire






Bitcoin is a swarm of cyber hornets serving the goddess of wisdom, feeding on the fire of truth, exponentially growing ever smarter, faster, and stronger behind a wall of encrypted energy








"Ceux qui rêvent de jour ont conscience de bien des choses qui échappent à ceux qui rêvent de nuit"   Edgar Allan Poe