AirTSP Logo  1.01.9
C++ Simulated Airline Travel Solution Provider (TSP) Library
Loading...
Searching...
No Matches
SegmentPathGenerator.hpp
Go to the documentation of this file.
1#ifndef __AIRTSP_CMD_SEGMENTPATHGENERATOR_HPP
2#define __AIRTSP_CMD_SEGMENTPATHGENERATOR_HPP
3
4// //////////////////////////////////////////////////////////////////////
5// Import section
6// //////////////////////////////////////////////////////////////////////
7// STL
8#include <vector>
9// StdAir
10#include <stdair/stdair_basic_types.hpp>
11#include <stdair/command/CmdAbstract.hpp>
12// AirTSP
14
16namespace stdair {
17 class BomRoot;
18 class Inventory;
19 class FlightPeriod;
20 class SegmentPeriod;
21}
22
23namespace AIRTSP {
24
26 class ReachableUniverse;
27 class OriginDestinationSet;
28 class SegmentPathPeriod;
29
30
34 class SegmentPathGenerator : public stdair::CmdAbstract {
35 public:
39 static void createSegmentPathNetwork (const stdair::BomRoot&);
40
41 private:
46 static void createSinglePaths (const stdair::Inventory&);
47 static void createSinglePaths (const stdair::FlightPeriod&);
48
53 static void createSinglePath (stdair::SegmentPeriod&);
54 static void createSinglePath (ReachableUniverse&, stdair::SegmentPeriod&);
55
59 static void buildSegmentPathNetwork (const stdair::BomRoot&,
60 const stdair::NbOfSegments_T&);
61 static void buildSegmentPathNetwork (ReachableUniverse&,
62 const stdair::NbOfSegments_T&);
63
67 static void addSegmentPathPeriod (ReachableUniverse&,
68 const SegmentPathPeriod&);
69 };
70
71}
72#endif // __AIRTSP_CMD_SEGMENTPATHGENERATOR_HPP
Class representing the root of the schedule-related BOM tree.
Class handling the generation / instantiation of the network BOM.
static void createSegmentPathNetwork(const stdair::BomRoot &)
Class representing a segment/path.
Forward declarations.