5#ifndef FILE_SCENARIO_HELPER_H
6#define FILE_SCENARIO_HELPER_H
8#include "node-distribution-scenario-interface.h"
11#include <ns3/vector.h>
17class ListPositionAllocator;
51 void Add(
const std::string filePath,
char delimiter =
',');
70 void CheckScenario(
const char* where)
const;
73 bool m_scenarioCreated{
false};
79 Ptr<ListPositionAllocator> m_bsPositioner;
The FileScenarioHelper class.
~FileScenarioHelper() override
~FileScenarioHelper
void CreateScenario() override
Create the scenario, with the configured parameter.
void Add(const std::string filePath, char delimiter=',')
Add the positions listed in a file. The file should be a simple text file, with one position per line...
Vector GetSitePosition(std::size_t cellId) const
Get the site position corresponding to a given cell.
Represents a scenario with base stations and user terminals.
Vector GetAntennaPosition(const Vector &sitePos, uint16_t cellId) const
Returns the position of the cell antenna.