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

Unified Diff: src/uan/model/uan-phy-dual.h

Issue 6443073: replace src/uan usage of RandomVariable with RandomVariableStream
Patch Set: Make helper assign streams Created 11 years, 8 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/uan/model/uan-phy.h ('k') | src/uan/model/uan-phy-dual.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/uan/model/uan-phy-dual.h
===================================================================
--- a/src/uan/model/uan-phy-dual.h
+++ b/src/uan/model/uan-phy-dual.h
@@ -266,6 +266,16 @@
*/
Ptr<Packet> GetPacketRx (void) 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
+ */
+ int64_t AssignStreams (int64_t stream);
+
private:
Ptr<UanPhy> m_phy1;
Ptr<UanPhy> m_phy2;
« no previous file with comments | « src/uan/model/uan-phy.h ('k') | src/uan/model/uan-phy-dual.cc » ('j') | no next file with comments »

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