#include <TextGen.H>
Collaboration diagram for TextGen:
Public Member Functions | |
TextGen (DBInterface *db) | |
Constructor takes a pointer to the database as a parameter. | |
~TextGen () | |
string | generateText (path_t *p) |
Method that generates turn-by-turn directions to correspond with the visual search results. Includes information about street names and distances traveled. | |
string | testText (path_t *p) |
string | dbltostr3 (double d) |
Method to convert a double to a string. | |
pair< int, double > | findAngleAndTurn (double m_x0, double m_y0, double m_x1, double m_y1, double m_x2, double m_y2) |
Method to detrmine, based on three points, the direction and angle of the turn at point two. | |
int | addQuantPath (path_t *p, int stRank, int roRank, int trRank, int shRank) |
Method that attached quantitative data regarding the entire path to the text directions. | |
int | addQuantSegFeedback (string rid, int stRank, int roRank, int trRank, int shRank) |
Method that attached quantitative data regarding sepcific segments to the text directions. | |
int | addQualFeedback (string routeid, string comm, string commType, string auth) |
Method that attached qualitative feedback regarding the route to the text directions. | |
int | addQuantFeedbackHelper (vector< seg_t * > *t, int stRank, int roRank, int trRank, int shRank) |
Method to assist addQualFeedback(...) in attaching qualitative feedback to a route. | |
Private Attributes | |
DBInterface * | _db |
Pointer to the database. |
|
Constructor takes a pointer to the database as a parameter.
|
|
|
|
Method that attached qualitative feedback regarding the route to the text directions.
|
Here is the call graph for this function:
|
Method to assist addQualFeedback(...) in attaching qualitative feedback to a route.
|
Here is the call graph for this function:
|
Method that attached quantitative data regarding the entire path to the text directions.
|
Here is the call graph for this function:
|
Method that attached quantitative data regarding sepcific segments to the text directions.
|
Here is the call graph for this function:
|
Method to convert a double to a string.
|
|
Method to detrmine, based on three points, the direction and angle of the turn at point two.
|
|
Method that generates turn-by-turn directions to correspond with the visual search results. Includes information about street names and distances traveled.
|
Here is the call graph for this function:
|
|
Here is the call graph for this function:
|
Pointer to the database.
|