|
AntHocNet 2.0.0
Paper-faithful ant-colony ad hoc routing: the shared core and its adapters
|
#include <anthocnet/core/route_decision.h>
Static Public Member Functions | |
| static RouteDecision | drop () |
| static RouteDecision | none () |
| static RouteDecision | deliver () |
Public Attributes | |
| RouteAction | action = RouteAction::None |
| NodeAddress | nextHop = kInvalidAddress |
| bool | hasMessage = false |
Whether message is populated. | |
| AntMessage | message |
| Ant to emit (Unicast/Broadcast). | |
Definition at line 32 of file route_decision.h.
|
inlinestatic |
Definition at line 38 of file route_decision.h.
References anthocnet::core::Drop, and anthocnet::core::kInvalidAddress.
|
inlinestatic |
Definition at line 39 of file route_decision.h.
References anthocnet::core::kInvalidAddress, and anthocnet::core::None.
|
inlinestatic |
Definition at line 40 of file route_decision.h.
References anthocnet::core::Deliver, and anthocnet::core::kInvalidAddress.
| RouteAction anthocnet::core::RouteDecision::action = RouteAction::None |
Definition at line 33 of file route_decision.h.
| NodeAddress anthocnet::core::RouteDecision::nextHop = kInvalidAddress |
Definition at line 34 of file route_decision.h.
| bool anthocnet::core::RouteDecision::hasMessage = false |
Whether message is populated.
Definition at line 35 of file route_decision.h.
| AntMessage anthocnet::core::RouteDecision::message |
Ant to emit (Unicast/Broadcast).
Definition at line 36 of file route_decision.h.