25 #ifndef PRESAGE_SUGGESTION
26 #define PRESAGE_SUGGESTION
36 #include "../presageException.h"
89 #endif // PRESAGE_SUGGESTION
static const double MAX_PROBABILITY
PresageException(presage_error_code_t code, const std::string &msg)
virtual ~SuggestionException()
friend std::ostream & operator<<(std::ostream &, const Suggestion &)
std::string toString() const
Suggestion(std::string="", double=0.0)
static const double MIN_PROBABILITY
void setProbability(double)
bool operator!=(const Suggestion &) const
SuggestionException(presage_error_code_t code, const std::string &msg)
virtual const presage_error_code_t code() const
std::string getWord() const
bool operator==(const Suggestion &) const
void setWord(std::string)
bool operator<(const Suggestion &) const
double getProbability() const