fhq-server  v0.2.33
Documentation for fhq-server. FreeHackQuest is an open source platform for competitions of computer security.
utils_static_analizing_text.h
Go to the documentation of this file.
1 #ifndef UTILS_STATIC_ANALIZING_TEXT_H
2 #define UTILS_STATIC_ANALIZING_TEXT_H
3 
4 #include <string>
5 #include <map>
6 
8  public:
9  static std::map<char, double> calc(const std::string &text);
10  private:
11  static double calcWeightOfOneChar(int strLen);
12 };
13 
14 #endif
Definition: utils_static_analizing_text.h:7
static double calcWeightOfOneChar(int strLen)
Definition: utils_static_analizing_text.cpp:5
static std::map< char, double > calc(const std::string &text)
Definition: utils_static_analizing_text.cpp:9