Lines Matching refs:val
86 // True if there is a bound with val containing the bound. false otherwise.
87 bool GetElementMinBound(const Key &fname, double *val) const {
88 return GetValue(wmin_, fname, val);
90 bool GetElementMaxBound(const Key &fname, double *val) const {
91 return GetValue(wmax_, fname, val);
101 double val = 0;
102 GetValue(w_, fname, &val);
103 return val;
105 void SetElement(const Key &fname, const double val) {
106 //DCHECK(!isnan(val));
107 w_[fname] = val;
109 void AddUpdateElement(const Key &fname, const double val) {
110 w_[fname] += val;
112 void MultUpdateElement(const Key &fname, const double val) {
113 w_[fname] *= val;
177 bool GetValue(const Wmap &w1, const Key &fname, double *val) const {
180 (*val) = iter->second;
183 (*val) = 0;