How joaobcpatricio/opaqs works
OPAQS is an OMNeT++ simulator for opportunistic aquatic-vehicle networks. A scenario author configures a simulation, whose node models generate data, route it opportunistically using neighbor and link information, and collect simulation statistics. The README documents the layer architecture; the tree and excerpts support the principal runtime modules, but do not show the NED wiring or the complete message flow, so those links are represented only where documented or marked unverified.
Main entry points: RoutingLayer.cc Routing layer · NeighboringLayer.cc Neighbor discovery · WirelessInterface.cc Wireless interface · AppLayer.cc Application layer
Components 20
Scenario simulation
- Scenario configuration
OPAQS/simulations - Simulation results
OPAQS/simulations - Simulation logging
OPAQS/src/Logger.cc
Node protocol layers
- Application layer
OPAQS/src/AppLayer.cc - Neighbor discovery
OPAQS/src/NeighboringLayer.cc - Link adaptation
OPAQS/src/LinkAdaptLayer.cc - Node mobility
OPAQS/src/BaseNodeInfo.h
Routing and state
- Routing layer
OPAQS/src/RoutingLayer.cc - Epidemic routing
OPAQS/src/EpidemicRoutingLayer.cc - LQE routing
OPAQS/src/RoutingLQE.cc - Gateway routing
OPAQS/src/RoutingLqeGw.cc - Message cache
OPAQS/src/StorageM.cc - Neighbor graph
OPAQS/src/GraphT.cc - LQE calculations
OPAQS/src/pamulqe.cc
Messages and links
- Wireless interface
OPAQS/src/WirelessInterface.cc - Bluetooth interface
OPAQS/src/BluetoothInterface.cc - Protocol messages
OPAQS/src/OutsMsg_m.cc - Internal messages
OPAQS/src/InternalMsg_m.cc
Other components
- Scenario author
- OMNeT++ / INET
Connections 23
- Scenario author → Scenario configuration: configures
- Scenario configuration → OMNeT++ / INET: runs in
- OMNeT++ / INET → Application layer: simulates
- Application layer → Routing layer: passes data
- Routing layer → Neighbor discovery: uses neighbor data
- Routing layer → Link adaptation: passes messages
- Link adaptation → Wireless interface: redirects messages
- Link adaptation → Bluetooth interface: redirects messages
- Neighbor discovery → Wireless interface: uses interface
- Neighbor discovery → Bluetooth interface: uses interface
- Node mobility → Wireless interface: provides position
OPAQS/src/WirelessInterface.cc - Routing layer → Epidemic routing: selects protocol
- Routing layer → LQE routing: selects protocol
- Routing layer → Gateway routing: selects protocol
- Routing layer → Message cache: stores messages
- Routing layer → Neighbor graph: uses graph
- Neighbor discovery → Neighbor graph: updates graph
- LQE routing → LQE calculations: uses estimates
- Application layer → Protocol messages: creates data
- Routing layer → Internal messages: exchanges control
- OMNeT++ / INET → Simulation results: collects results
- Wireless interface → Simulation logging: records traffic
- Routing layer → Simulation logging: records routing