|
Bugzilla – Full Text Bug Listing |
| Summary: | waypoint list mobility model | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Gustavo J. A. M. Carneiro <gjcarneiro> |
| Component: | network | Assignee: | ns-bugs <ns-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
patch
patch v2 (fixes bad copy-paste of copyright) |
||
|
Description
Gustavo J. A. M. Carneiro
2008-03-03 06:32:30 UTC
Created attachment 113 [details]
patch
Created attachment 114 [details]
patch v2 (fixes bad copy-paste of copyright)
I wonder if this patch is superseded by the current src/mobility/position-allocator.h code, more specifically: ListPositionAllocator. If so, can you confirm so I can close this bug as INVALID ? (In reply to comment #3) > I wonder if this patch is superseded by the current > src/mobility/position-allocator.h code, more specifically: > ListPositionAllocator. > > If so, can you confirm so I can close this bug as INVALID ? > Correct me if I'm wrong, but I think ListPositionAllocator is used to assign preset positions from a list to _different nodes_. WaypointListMobilityModel has a list of positions through which a single node has to travel. So, no, I don't think they overlap. (In reply to comment #4) > (In reply to comment #3) > > I wonder if this patch is superseded by the current > > src/mobility/position-allocator.h code, more specifically: > > ListPositionAllocator. > > > > If so, can you confirm so I can close this bug as INVALID ? > > > > Correct me if I'm wrong, but I think ListPositionAllocator is used to assign > preset positions from a list to _different nodes_. WaypointListMobilityModel yes. > has a list of positions through which a single node has to travel. But RandomWaypointMobilityModel now uses another PositionAllocator object to allocate each destination position. (In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > > I wonder if this patch is superseded by the current > > > src/mobility/position-allocator.h code, more specifically: > > > ListPositionAllocator. > > > > > > If so, can you confirm so I can close this bug as INVALID ? > > > > > > > Correct me if I'm wrong, but I think ListPositionAllocator is used to assign > > preset positions from a list to _different nodes_. WaypointListMobilityModel > > yes. > > > has a list of positions through which a single node has to travel. > > But RandomWaypointMobilityModel now uses another PositionAllocator object to > allocate each destination position. Hmm... OK. Then RandomWaypointMobilityModel becomes a misnomer, since it may not be random at all :) But, yes, in this case, which is news to me, WaypointListMobilityModel becomes redundant. (In reply to comment #6) > > But RandomWaypointMobilityModel now uses another PositionAllocator object to > > allocate each destination position. > > Hmm... OK. Then RandomWaypointMobilityModel becomes a misnomer, since it may > not be random at all :) > > But, yes, in this case, which is news to me, WaypointListMobilityModel becomes > redundant. marking INVALID then. |