OverSim
CoordBasedRouting.cc File Reference
#include <fstream>
#include <string>
#include <cassert>
#include <algorithm>
#include <omnetpp.h>
#include <GlobalNodeListAccess.h>
#include <PeerInfo.h>
#include "CoordBasedRouting.h"

Go to the source code of this file.

Functions

 Define_Module (CoordBasedRouting)
std::ostream & operator<< (std::ostream &os, const CBRArea &area)

Detailed Description

Author
Fabian Hartmann
Bernhard Heep

Definition in file CoordBasedRouting.cc.

Function Documentation

Define_Module ( CoordBasedRouting  )
std::ostream& operator<< ( std::ostream &  os,
const CBRArea area 
)

Definition at line 445 of file CoordBasedRouting.cc.

{
for (uint i = 0; i < area.min.size(); ++i) {
os << "|" << area.min[i] << " - " << area.max[i] << "|";
}
os << " -> \"" << area.prefix << "\"";
return os;
}