Référence de la classe NoganePathFinder

Implémente IPathFinder. Plus de détails...

#include <NoganePathFinder.h>

Est dérivée de IPathFinder.

Graphe de collaboration de NoganePathFinder:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 NoganePathFinder ()
virtual void init (const StationsDB &stationDB, int stepDuration, int changeLineDuration)
virtual boost::shared_ptr
< PathResult
find (const StationsDB &stationDB, SharedConstStation X, const std::vector< SharedConstStation > &stepList, SharedConstStation Y, bool optimizeStep) const


Description détaillée

Implémente IPathFinder.

Documentation des constructeurs et destructeur

NoganePathFinder::NoganePathFinder (  ) 


Documentation des fonctions membres

boost::shared_ptr< PathResult > NoganePathFinder::find ( const StationsDB stationDB,
SharedConstStation  startStation,
const std::vector< SharedConstStation > &  interStations,
SharedConstStation  endStation,
bool  isOptim 
) const [virtual]

Recherche le chemin le plus rapide. Cette fonction peut être appelée plusieurs fois.

Paramètres:
[in] stationDB Base de donnée des stations
[in] startStation Station de départ
[in] interStations Liste des stations intermédiaires
[in] endStation Station d'arrivée
[in] isOptim True si l'ordre des stations intermédiaires peut être optimisé
Renvoie:
Meilleur chemin trouvé

Implémente IPathFinder.

Voici le graphe d'appel pour cette fonction :

void NoganePathFinder::init ( const StationsDB stationDB,
int  stepDuration,
int  changeLineDuration 
) [virtual]

Initialise le contenu du PathFinder à partir des données qui lui sont passées. Si ces données changent, cette fonction doit pouvoir être rappelée.

Paramètres:
[in] stationDB Base de donnée des stations
[in] stepDuration Durée entre deux stations, en secondes
[in] changeLineDuration Durée d'une correspondance, en secondes

Implémente IPathFinder.

Voici le graphe d'appel pour cette fonction :


La documentation de cette classe a été générée à partir des fichiers suivants :

Généré le Sun Jun 14 17:47:46 2009 pour defi_cpp_4 par  doxygen 1.5.9