[Ns-developers] [ns3] Vector and different coordinates system

Tom Henderson tomh at tomh.org
Thu Apr 19 09:52:55 PDT 2012


On 19.04.2012 09:58, Pavel Boyko wrote:
> Hi Tom,
>
> I don't really think that many mobility models can be reused in 
> different
> coordinate systems and vote to keep things as simple as 
> LatLonMobilityModel
> : public MobilityModel; LatLonPropagationLossModel : public
> PropagationLossModel, etc.
>

If I understand correctly your suggestion, you would introduce new 
coordinate-specific base classes in the hierarchy, under the expectation 
that mobility models are highly coupled to coordinate systems.  But I 
thought the original question was how to reuse the existing mobility 
models with different coordinate systems, and Nicola's response was to 
not touch the classes and just provide conversion utilities.

I think we have not converged on requirements and architecture, which 
is why I am chiming in before Federico goes off and implements 
something.

- Tom


More information about the Ns-developers mailing list