src/buildings/model/hybrid-buildings-propagation-loss-model.h
changeset 8644 83faaf37b22c
child 8734 403c6e61d201
equal deleted inserted replaced
8643:3c7d21485f21 8644:83faaf37b22c
       
     1 /* -*-  Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
       
     2 /*
       
     3  * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC)
       
     4  *
       
     5  * This program is free software; you can redistribute it and/or modify
       
     6  * it under the terms of the GNU General Public License version 2 as
       
     7  * published by the Free Software Foundation;
       
     8  *
       
     9  * This program is distributed in the hope that it will be useful,
       
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    12  * GNU General Public License for more details.
       
    13  *
       
    14  * You should have received a copy of the GNU General Public License
       
    15  * along with this program; if not, write to the Free Software
       
    16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
       
    17  *
       
    18  * Author: Marco Miozzo  <marco.miozzo@cttc.es>
       
    19  * 
       
    20  */
       
    21 
       
    22 #ifndef HYBRID_BUILDINGS_PROPAGATION_LOSS_MODEL_H_
       
    23 #define HYBRID_BUILDINGS_PROPAGATION_LOSS_MODEL_H_
       
    24 
       
    25 #include <ns3/buildings-propagation-loss-model.h>
       
    26 
       
    27 namespace ns3 {
       
    28 
       
    29 
       
    30 /**
       
    31  * \ingroup propagation
       
    32  *
       
    33  *  \brief The Hybrid-Building-Propagation-Model is a compound of different models able to evaluate the pathloss from 200 to 2600 MHz, in different environments and with buildings (i.e., indoor and outdoor communications).
       
    34  *
       
    35  *  This model includes Hata model, COST231, ITU-R P.1411 (short range
       
    36  *  communications), ITU-R P.1238 (indoor communications). 
       
    37  *  Building-Propagation-Model properly combines the models above in order
       
    38  *  to be able to evaluate the pathloss under different scenarios, in detail:
       
    39  *  - Environments: urban, suburban, open-areas;
       
    40  *  - frequency: from 200 uo to 2600 MHz
       
    41  *  - short range communications vs long range communications
       
    42  *  - Node position respect to buildings: indoor, outdoor and hybrid (indoor <-> outdoor)
       
    43  *  - Building penetretation loss
       
    44  *  - floors, etc...
       
    45  *
       
    46  *  Frequency: 200 MHz to 2000 MHz
       
    47  *  Link Distance:up to 20 km
       
    48  *  Short/long distance commutation: 1 Km
       
    49  *  \warning This model works with BuildingsMobilityModel
       
    50  *
       
    51  */
       
    52 
       
    53 class HybridBuildingsPropagationLossModel : public BuildingsPropagationLossModel
       
    54 {
       
    55 
       
    56 public:
       
    57   static TypeId GetTypeId (void);
       
    58   HybridBuildingsPropagationLossModel ();
       
    59   ~HybridBuildingsPropagationLossModel ();
       
    60 
       
    61   /**
       
    62    * \param a the mobility model of the source
       
    63    * \param b the mobility model of the destination
       
    64    * \returns the propagation loss (in dBm)
       
    65    */
       
    66   virtual double GetLoss (Ptr<MobilityModel> a, Ptr<MobilityModel> b) const;
       
    67   
       
    68 
       
    69 };
       
    70 
       
    71 }
       
    72 
       
    73 #endif /* HYBRID_BUILDINGS_PROPAGATION_LOSS_MODEL_H_ */