Home >Backend Development >PHP Tutorial >PHP simulation algorithm design

PHP simulation algorithm design

WBOY
WBOYOriginal
2016-10-11 14:23:381579browse

  1. Add different labels to the data. For example: attractions [hot, top, sellest], the same is true for hotels.

  2. Design an itinerary based on user behavior preferences. [Refer to the travel tips].

The above are roughly the requirements of the application, but when implementing it, because I am unfamiliar with the algorithm, I use labeling to design a solution for users. However, the amount of data is large and complex, and there are many problems in implementation, such as pressure on the server. , query calculation efficiency and speed, I would like to ask everyone if you have a mature idea to implement it.

Reply content:

  1. Add different labels to the data. For example: attractions [hot, top, sellest], the same is true for hotels.

  2. Design an itinerary based on user behavior preferences. [Refer to the travel tips].

The above are roughly the requirements of the application, but when implementing it, because I am unfamiliar with the algorithm, I use labeling to design a solution for users. However, the amount of data is large and complex, and there are many problems in implementation, such as pressure on the server. , query calculation efficiency and speed, I would like to ask everyone if you have a mature idea to implement it.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn