OverSim
|
#include <SVivaldi.h>
Public Member Functions | |
virtual void | init (NeighborCache *neighborCache) |
double | getLoss () const |
void | stopAdaptation () |
Public Member Functions inherited from Vivaldi | |
virtual | ~Vivaldi () |
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 double | calcError (const simtime_t &rtt, double dist, double weight) |
virtual double | calcDelta (const simtime_t &rtt, double dist, double weight) |
Protected Member Functions inherited from Vivaldi | |
virtual void | finishVivaldi () |
virtual void | updateDisplay () |
Private Attributes | |
double | lossC |
double | effectiveSample |
double | loss |
double | lossResetLimit |
Additional Inherited Members | |
Protected Attributes inherited from Vivaldi | |
VivaldiCoordsInfo * | ownCoords |
double | errorC |
double | coordC |
bool | showPosition |
GlobalStatistics * | globalStatistics |
NeighborCache * | neighborCache |
Definition at line 34 of file SVivaldi.h.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from Vivaldi.
Definition at line 43 of file SVivaldi.cc.
|
inline |
Definition at line 48 of file SVivaldi.h.
Referenced by DiscoveryMode::sendNewRequest(), and DiscoveryMode::stop().
|
virtual |
Reimplemented from Vivaldi.
Definition at line 31 of file SVivaldi.cc.
|
inline |
Definition at line 49 of file SVivaldi.h.
|
private |
Definition at line 38 of file SVivaldi.h.
|
private |
Definition at line 39 of file SVivaldi.h.
Referenced by calcDelta(), getLoss(), init(), and stopAdaptation().
|
private |
Definition at line 37 of file SVivaldi.h.
Referenced by calcDelta(), and init().
|
private |
Definition at line 40 of file SVivaldi.h.
Referenced by calcDelta(), and init().