Lines Matching refs:RandomVariable
136 class RandomVariable {
139 RandomVariable() : mVar(nullptr) {} in RandomVariable() function
142 /* implicit */ RandomVariable(int value);
145 RandomVariable(int lower, int upper);
148 explicit RandomVariable(const std::vector<int>& choices);
152 /* implicit */ RandomVariable(RandomVariableType type);
155 RandomVariable(const RandomVariable& other) = default;
156 RandomVariable& operator=(const RandomVariable& other) = default;
168 friend RandomVariable operator+(const RandomVariable& lhs, const RandomVariable& rhs);
169 friend RandomVariable operator-(const RandomVariable& lhs, const RandomVariable& rhs);
170 friend RandomVariable operator*(const RandomVariable& lhs, const RandomVariable& rhs);
171 friend RandomVariable operator*(const RandomVariable& lhs, const float& rhs);
172 friend RandomVariable operator/(const RandomVariable& lhs, const RandomVariable& rhs);
173 friend RandomVariable operator%(const RandomVariable& lhs, const RandomVariable& rhs);
174 friend RandomVariable max(const RandomVariable& lhs, const RandomVariable& rhs);
175 friend RandomVariable min(const RandomVariable& lhs, const RandomVariable& rhs);
176 RandomVariable exactDiv(const RandomVariable& other);
180 RandomVariable setEqual(const RandomVariable& other) const;
181 RandomVariable setGreaterThan(const RandomVariable& other) const;
182 RandomVariable setGreaterEqual(const RandomVariable& other) const;
189 RandomVariable(const RandomVariable& lhs, const RandomVariable& rhs,
238 bool setEqualIfCompatible(const std::vector<RandomVariable>& lhs,
239 const std::vector<RandomVariable>& rhs);
251 void addDimensionProd(const std::vector<RandomVariable>& dims);