1 #ifndef __OPENTREP_BOM_SCOREBOARD_HPP
2 #define __OPENTREP_BOM_SCOREBOARD_HPP
28 typedef std::map<ScoreType::EN_ScoreType, Score_T>
ScoreMap_T;
67 _queryString = iQueryString;
126 void toStream (std::ostream&)
const;
187 #endif // __OPENTREP_BOM_SCOREBOARD_HPP
void toStream(std::ostream &) const
Structure holding a board for all the types of score/matching having been performed.
void setCombinedWeight(const Score_T &iScore)
Score_T getScore(const ScoreType &) const
void setQueryString(const TravelQuery_T &iQueryString)
const TravelQuery_T & getQueryString() const
Score_T getCombinedWeight() const
ScoreBoard(const TravelQuery_T &, const ScoreType &, const Score_T &)
Percentage_T calculateCombinedWeight()
Base class for the light structures.
std::string describeKey() const
std::map< ScoreType::EN_ScoreType, Score_T > ScoreMap_T
Enumeration of score types.
void setScore(const ScoreType &, const Score_T &)
std::string describe() const
std::string TravelQuery_T
void fromStream(std::istream &)
const ScoreMap_T & getScoreMap() const