Urbanisme  1.3.0
Projet visant à l'optimisation du placement de routes sur une surface. https://flodavid.github.io/Urbanisme
parameters.h
1 #pragma once
2 
6 class Parameters
7 {
8 private:
9  unsigned serve_distance;
10  unsigned road_width;
11 
12 public:
18  Parameters(unsigned _serve_distance, unsigned _road_width);
23  Parameters(const Parameters& other);
24  ~Parameters();
25 
30  inline unsigned get_road_width() const
31  { return road_width; }
36  inline unsigned get_serve_distance() const
37  { return serve_distance; }
38 
43  inline void set_road_width(unsigned width)
44  { road_width= width; }
49  inline void set_serve_distance(unsigned distance)
50  { serve_distance= distance; }
51 
52 };
unsigned get_road_width() const
Definition: parameters.h:30
Représente les paramètres du problèmes.
Definition: parameters.h:6
unsigned get_serve_distance() const
Definition: parameters.h:36
Parameters(unsigned _serve_distance, unsigned _road_width)
Definition: parameters.cpp:5
void set_road_width(unsigned width)
Definition: parameters.h:43
void set_serve_distance(unsigned distance)
Definition: parameters.h:49