OverSim
|
#include <Vivaldi.h>
Public Member Functions | |
virtual | ~Vivaldi () |
virtual void | init (NeighborCache *neighborCache) |
void | processCoordinates (const simtime_t &rtt, const AbstractNcsNodeInfo &nodeInfo) |
Prox | getCoordinateBasedProx (const AbstractNcsNodeInfo &info) const |
virtual AbstractNcsNodeInfo * | getUnvalidNcsInfo () const |
virtual AbstractNcsNodeInfo * | createNcsInfo (const std::vector< double > &coords) const |
const VivaldiCoordsInfo & | getOwnNcsInfo () const |
const std::vector< double > & | getOwnCoordinates () const |
double | getOwnError () const |
double | getOwnHeightVector () const |
Public Member Functions inherited from AbstractNcs | |
virtual | ~AbstractNcs () |
virtual bool | isReady () |
virtual void | handleTimerEvent (cMessage *msg) |
virtual bool | handleRpcCall (BaseCallMessage *msg) |
Protected Member Functions | |
virtual void | finishVivaldi () |
virtual void | updateDisplay () |
virtual double | calcError (const simtime_t &rtt, double dist, double weight) |
virtual double | calcDelta (const simtime_t &rtt, double dist, double weight) |
Protected Attributes | |
VivaldiCoordsInfo * | ownCoords |
double | errorC |
double | coordC |
bool | showPosition |
GlobalStatistics * | globalStatistics |
NeighborCache * | neighborCache |
Private Attributes | |
bool | enableHeightVector |
uint32_t | dimension |
|
inlinevirtual |
|
protectedvirtual |
Reimplemented in SVivaldi.
Definition at line 123 of file Vivaldi.cc.
Referenced by processCoordinates().
|
protectedvirtual |
Reimplemented in SVivaldi.
Definition at line 110 of file Vivaldi.cc.
Referenced by processCoordinates().
|
virtual |
Implements AbstractNcs.
Definition at line 136 of file Vivaldi.cc.
|
protectedvirtual |
Definition at line 171 of file Vivaldi.cc.
|
virtual |
Implements AbstractNcs.
Definition at line 130 of file Vivaldi.cc.
|
inline |
|
inline |
Definition at line 79 of file Vivaldi.h.
Referenced by DiscoveryMode::sendNewRequest(), and DiscoveryMode::stop().
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Implements AbstractNcs.
Reimplemented in SVivaldi.
Definition at line 32 of file Vivaldi.cc.
|
virtual |
Reimplemented from AbstractNcs.
Definition at line 57 of file Vivaldi.cc.
|
protectedvirtual |
Definition at line 155 of file Vivaldi.cc.
Referenced by processCoordinates().
|
protected |
Definition at line 50 of file Vivaldi.h.
Referenced by SVivaldi::calcDelta(), calcDelta(), and init().
|
private |
Definition at line 44 of file Vivaldi.h.
Referenced by init(), processCoordinates(), and updateDisplay().
|
private |
Definition at line 43 of file Vivaldi.h.
Referenced by createNcsInfo(), getUnvalidNcsInfo(), init(), and processCoordinates().
|
protected |
Definition at line 49 of file Vivaldi.h.
Referenced by SVivaldi::calcError(), calcError(), and init().
|
protected |
Definition at line 62 of file Vivaldi.h.
Referenced by finishVivaldi(), and init().
|
protected |
Definition at line 63 of file Vivaldi.h.
Referenced by SVivaldi::calcError(), init(), and updateDisplay().
|
protected |
Definition at line 47 of file Vivaldi.h.
Referenced by SVivaldi::calcError(), calcError(), finishVivaldi(), getCoordinateBasedProx(), getOwnCoordinates(), getOwnError(), getOwnHeightVector(), getOwnNcsInfo(), init(), processCoordinates(), updateDisplay(), and ~Vivaldi().
|
protected |
Definition at line 52 of file Vivaldi.h.
Referenced by init(), and updateDisplay().