Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
Получается, что в таком виде нет полного on-line в туризме, а есть некий псевдо-онлайн. Нельзя купить тур в Египет по своей карточке, без вмешательства человека.
Using our booking and consultancy system your travel agency is able to access package and last-minute offers from renowned tour operators within seconds. Furthermore, charter flights, hotels and holiday homes, as well as car hire and insurance offers can be retrieved and booked directly. For each holiday, you receive the operator descriptions and extensive travel infor- mation to provide first-class advice. All offers and data are continuously updated by Internet matching.
If you want to do a simple round-trip from BOS to LAX in two weeks, coming back in three, willing to entertain a 24 hour departure window for both parts, then limiting to «reasonable» routes (at most 3 flights and at most 10 hours or so) you have about 5,000 ways to get there and 5,000 ways to get back.
The real challenge is that a single fixed itinerary (a fixed set of flights from BOS to LAX and a fixed set back) with only two flights in each direction may have more than 10,000 possible combinations of applicable «fares», each fare with complex restrictions that must be checked against the flights and the other fares. That means that the search space for this simple trip is of the order 5000 x 5000 x 10000, and a naive program would need to do a _lot_ of computation just to validate each of these possibilities.
IT в туризме — миф