|
AntHocNet 2.6.1
Paper-faithful ant-colony ad hoc routing: the shared core and its adapters
|
This node's own position and velocity (#573, ADR-0025). More...
#include <anthocnet/core/ports.h>
Public Member Functions | |
| virtual | ~IKinematics ()=default |
| virtual bool | self (Kinematics &out) const =0 |
Fill out and return true, or return false (leaving out untouched) when the position is unknown. | |
This node's own position and velocity (#573, ADR-0025).
Absent, not zero: an adapter that does not know where the node is returns false, because a node reported at the origin would sit on top of every other such node and read as an immortal link. Neighbours' kinematics never come through this port; they come from their hellos, as a deployed protocol's would.
|
virtualdefault |
|
pure virtual |
Fill out and return true, or return false (leaving out untouched) when the position is unknown.
Implemented in ahn_web::Node.