| OverSim
    | 
#include <StrategyTreeTest.h>
 
  
 | Public Member Functions | |
| StrategyTreeTest () | |
| .cc | |
| virtual | ~StrategyTreeTest () | 
| virtual void | handleCoordinateRpcCall (GlobalViewBuilderCall *globalViewBuilderCall) | 
| virtual void | setMyCoordinates (const AbstractNcsNodeInfo &ncsInfo) | 
| virtual GlobalViewBuilderCall * | getCoordinateMessage () | 
| virtual std::vector < std::vector< double > > | getGlobalViewData () | 
| return the decodes global View Data | |
| virtual std::string | getStrategyDataStatus () | 
| return a short status of the running send strategy | |
| virtual void | cleanUpCoordData (const treeNodeMap ¤tTreeChildNodes) | 
| cleanup the coordinate map and remove data of nodes which are not longer in the branch | |
| virtual std::string | getStrategyCombinedParams () | 
| return a string of the currently used strategy params | |
|  Public Member Functions inherited from AbstractSendStrategy | |
| AbstractSendStrategy () | |
| .cc | |
| virtual | ~AbstractSendStrategy () | 
| virtual void | initialize (GlobalViewBuilder *globalViewBuilder) | 
| set a pointer to the neighborCache to access the optional parameters for the strategies | |
| virtual void | initializeStrategy () | 
| stub method to initialize the concrete strategy | |
| virtual void | setThisNode (const NodeHandle thisNode) | 
| Set the Nodehandle of the own node to identify the own coordinates. | |
| Protected Member Functions | |
| void | setBranchCount (const NodeHandle &treeNode, int count) | 
| int | getNodeCount () | 
| Private Types | |
| typedef std::pair < TransportAddress, int > | branchCount | 
| typedef UNORDERED_MAP < TransportAddress, int, TransportAddress::hashFcn > | nodeCountMap | 
| Private Attributes | |
| nodeCountMap | branchCountMap | 
| Additional Inherited Members | |
|  Protected Attributes inherited from AbstractSendStrategy | |
| NodeHandle | thisNode | 
| GlobalViewBuilder * | globalViewBuilder | 
| int | lastSendCount | 
| the quantity of coordinates sent by last message | |
Definition at line 40 of file StrategyTreeTest.h.
| 
 | private | 
Definition at line 44 of file StrategyTreeTest.h.
| 
 | private | 
Definition at line 45 of file StrategyTreeTest.h.
| StrategyTreeTest::StrategyTreeTest | ( | ) | 
| 
 | virtual | 
Definition at line 31 of file StrategyTreeTest.cc.
| 
 | virtual | 
cleanup the coordinate map and remove data of nodes which are not longer in the branch
Reimplemented from AbstractSendStrategy.
Definition at line 80 of file StrategyTreeTest.cc.
| 
 | virtual | 
Reimplemented from AbstractSendStrategy.
Definition at line 43 of file StrategyTreeTest.cc.
| 
 | virtual | 
return the decodes global View Data
Implements AbstractSendStrategy.
Definition at line 113 of file StrategyTreeTest.cc.
| 
 | protected | 
Definition at line 95 of file StrategyTreeTest.cc.
Referenced by getCoordinateMessage(), and getStrategyDataStatus().
| 
 | virtual | 
return a string of the currently used strategy params
Implements AbstractSendStrategy.
Definition at line 62 of file StrategyTreeTest.cc.
| 
 | virtual | 
return a short status of the running send strategy
Reimplemented from AbstractSendStrategy.
Definition at line 53 of file StrategyTreeTest.cc.
| 
 | virtual | 
Reimplemented from AbstractSendStrategy.
Definition at line 35 of file StrategyTreeTest.cc.
| 
 | protected | 
Definition at line 70 of file StrategyTreeTest.cc.
Referenced by handleCoordinateRpcCall(), and setMyCoordinates().
| 
 | virtual | 
Reimplemented from AbstractSendStrategy.
Definition at line 109 of file StrategyTreeTest.cc.
| 
 | private | 
Definition at line 47 of file StrategyTreeTest.h.
Referenced by cleanUpCoordData(), getNodeCount(), getStrategyDataStatus(), and setBranchCount().