OverSim
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
StrategyRemoveCoords.h
Go to the documentation of this file.
1
/*
2
* StrategyRemoveCoords.h
3
*
4
* Created on: 17.05.2010
5
* Author: user
6
*/
7
8
#ifndef STRATEGYREMOVECOORDS_H_
9
#define STRATEGYREMOVECOORDS_H_
10
11
#include <
StrategySendAll.h
>
12
13
class
NeighborCache
;
14
15
class
StrategyRemoveCoords
:
public
StrategySendAll
{
16
public
:
17
StrategyRemoveCoords
();
18
virtual
~StrategyRemoveCoords
();
19
20
virtual
GlobalViewBuilderCall
*
getCoordinateMessage
();
21
22
virtual
std::string
getStrategyCombinedParams
();
23
24
protected
:
25
26
void
processCoordinates
(
coordinatesVector
* coords);
27
28
void
removeCoordinatesByPercentage
(
coordinatesVector
* coords,
int
percentage);
29
30
void
removeCoordinatesByCoordLimit
(
coordinatesVector
* coords,
int
coordLimit);
31
32
void
removeCoordinatesByTrafficLimit
(
coordinatesVector
* coords,
int
trafficLimit);
33
34
virtual
void
removeCoordinates
(
coordinatesVector
* coords,
int
entrysToRemove);
35
36
};
37
38
#endif
/* STRATEGYREMOVECOORDS_H_ */
src
common
cbr
globalViewBuilder
StrategyRemoveCoords.h
Generated on Fri Dec 7 2012 13:37:53 for OverSim by
1.8.1.2