OverSim
|
#include <NodeHandle.h>
#include <Vector2D.h>
#include <math.h>
#include <map>
#include <set>
#include <list>
#include <vector>
Go to the source code of this file.
Classes | |
class | Site |
class | Edge |
class | Halfedge |
class | HeapPQ |
HeapPQ class. More... | |
class | Geometry |
Geometry class. More... | |
class | EdgeList |
EdgeList class. More... |
Macros | |
#define | UNDEF 0 |
#define | THIS 1 |
#define | ENCLOSING 2 |
#define | NEIGHBOR 4 |
#define | BOUNDARY 8 |
#define | NEW 16 |
#define | le 0 |
#define | re 1 |
#define | DELETED -2 |
Typedefs | |
typedef std::set< Vector2D > | PositionSet |
Vast Definitions. | |
typedef std::set< NodeHandle > | EnclosingSet |
typedef std::list< NodeHandle > | StockList |
typedef std::map< NodeHandle, Site * > | SiteMap |
Definition in file VastDefs.h.
#define BOUNDARY 8 |
Definition at line 40 of file VastDefs.h.
Referenced by Vast::buildVoronoi(), Vast::handleJoinAcknowledge(), Vast::handleMove(), operator<<(), and Vast::processPingTimer().
#define DELETED -2 |
Definition at line 46 of file VastDefs.h.
Referenced by EdgeList::ELdelete(), and EdgeList::ELgethash().
#define ENCLOSING 2 |
Definition at line 38 of file VastDefs.h.
Referenced by Vast::buildVoronoi(), Vast::handleEnclosingNeighborsRequest(), Vast::handleNodeGracefulLeaveNotification(), operator<<(), and Geometry::processEdge().
#define le 0 |
Definition at line 43 of file VastDefs.h.
Referenced by Vast::buildVoronoi(), Geometry::intersect(), EdgeList::leftreg(), Geometry::processEdge(), EdgeList::right_of(), and EdgeList::rightreg().
#define NEIGHBOR 4 |
Definition at line 39 of file VastDefs.h.
Referenced by Vast::buildVoronoi(), operator<<(), and Vast::processPingTimer().
#define NEW 16 |
Definition at line 41 of file VastDefs.h.
Referenced by Vast::buildVoronoi(), Vast::handleNodeMove(), and operator<<().
#define re 1 |
Definition at line 44 of file VastDefs.h.
Referenced by ConnectReaSE::addOverlayNode(), AccessNet::addOverlayNode(), Vast::buildVoronoi(), Geometry::endpoint(), Geometry::intersect(), EdgeList::leftreg(), Geometry::processEdge(), EdgeList::right_of(), EdgeList::rightreg(), and InetUnderlayConfigurator::setUpIPv4().
#define THIS 1 |
Definition at line 37 of file VastDefs.h.
Referenced by Vast::handleJoinRequest(), Vast::initializeOverlay(), operator<<(), and Geometry::processEdge().
#define UNDEF 0 |
Definition at line 36 of file VastDefs.h.
Referenced by Vast::buildVoronoi(), operator<<(), Vast::processPingTimer(), Vast::removeNeighbors(), Site::Site(), and Vast::synchronizeApp().
typedef std::set<NodeHandle> EnclosingSet |
Definition at line 54 of file VastDefs.h.
typedef std::set<Vector2D> PositionSet |
Vast Definitions.
Some structures needed for building a voronoi diagram and maintaining the overlays neighbors.
Definition at line 53 of file VastDefs.h.
typedef std::map<NodeHandle, Site*> SiteMap |
Definition at line 72 of file VastDefs.h.
typedef std::list<NodeHandle> StockList |
Definition at line 55 of file VastDefs.h.