AntHocNet 2.0.0
Paper-faithful ant-colony ad hoc routing: the shared core and its adapters
Loading...
Searching...
No Matches
ant_message.h File Reference
#include <cstdint>
#include <vector>
#include "anthocnet/core/types.h"
#include "anthocnet/core/visited_path.h"

Go to the source code of this file.

Classes

struct  anthocnet::core::HelloDest
 A (destination, pheromone) advert carried by a hello ant for building the virtual pheromone table. More...
 
struct  anthocnet::core::AntMessage
 Complete, copyable description of an ant packet. More...
 

Namespaces

namespace  anthocnet
 AntHistoryTracker: (src, seqNum) duplicate detection.
 
namespace  anthocnet::core
 

Enumerations

enum class  anthocnet::core::AntType : std::uint8_t {
  anthocnet::core::Hello = 0x01 , anthocnet::core::Reactive = 0x02 , anthocnet::core::Proactive = 0x04 , anthocnet::core::Repair = 0x08 ,
  anthocnet::core::LinkFail = 0x10
}
 Ant role. More...
 
enum class  anthocnet::core::AntDirection : std::uint8_t { anthocnet::core::Up = 0x11 , anthocnet::core::Down = 0x12 }
 Travel direction. More...