Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1202)

Unified Diff: src/wimax/model/wimax-channel.h

Issue 6446093: replace src/wimax usage of RandomVariable with RandomVariableStream
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/wimax/model/simple-ofdm-wimax-phy.cc ('k') | src/wimax/model/wimax-phy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/wimax/model/wimax-channel.h
===================================================================
--- a/src/wimax/model/wimax-channel.h
+++ b/src/wimax/model/wimax-channel.h
@@ -55,6 +55,17 @@
* \return the ith attached device
*/
Ptr<NetDevice> GetDevice (uint32_t i) 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.
+ *
+ * \param stream first stream index to use
+ * \return the number of stream indices assigned by this model
+ */
+ virtual int64_t AssignStreams (int64_t stream) = 0;
+
private:
virtual void DoAttach (Ptr<WimaxPhy> phy) = 0;
« no previous file with comments | « src/wimax/model/simple-ofdm-wimax-phy.cc ('k') | src/wimax/model/wimax-phy.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b