Index: src/uan/helper/uan-helper.h |
=================================================================== |
--- a/src/uan/helper/uan-helper.h |
+++ b/src/uan/helper/uan-helper.h |
@@ -214,6 +214,20 @@ |
* UanNetDevice and then added to the node. |
*/ |
Ptr<UanNetDevice> Install (Ptr<Node> node, Ptr<UanChannel> channel) const; |
+ |
+ /** |
+ * Assign a fixed random variable stream number to the random variables |
+ * used by this model. Return the number of streams (possibly zero) that |
+ * have been assigned. The Install() method should have previously been |
+ * called by the user. |
+ * |
+ * \param c NetDeviceContainer of the set of net devices for which the |
+ * UanNetDevice should be modified to use a fixed stream |
+ * \param stream first stream index to use |
+ * \return the number of stream indices assigned by this helper |
+ */ |
+ int64_t AssignStreams (NetDeviceContainer c, int64_t stream); |
+ |
private: |
ObjectFactory m_device; |
ObjectFactory m_mac; |