Lines Matching refs:value_is_valid
49 sample.value_is_valid = true;
60 sample.value_is_valid = true;
71 << ", gradient: " << sample.gradient << ", value_is_valid: "
72 << std::boolalpha << sample.value_is_valid << ", gradient_is_valid: "
154 if (!current.value_is_valid ||
170 // to avoid replicating current.value_is_valid == false
172 CHECK(lowerbound.value_is_valid)
189 if (previous.value_is_valid) {
198 if (previous.value_is_valid) {
235 previous.value_is_valid = false;
238 current.value_is_valid = false;
247 current.value_is_valid =
253 interpolation_uses_gradients && current.value_is_valid;
254 while (!current.value_is_valid ||
259 // If current.value_is_valid is false, we treat it as if the cost at that
295 current.value_is_valid =
301 interpolation_uses_gradients && current.value_is_valid;
369 CHECK(bracket_low.value_is_valid)
404 summary) && !solution.value_is_valid) {
415 solution.value_is_valid && solution.value <= bracket_low.value
438 current.value_is_valid = false;
450 current.value_is_valid =
456 interpolation_uses_gradients && current.value_is_valid;
461 if (current.value_is_valid &&
466 (previous.value_is_valid && current.value > previous.value))) {
482 current.value_is_valid =
486 current.gradient_is_valid = current.value_is_valid;
489 if (current.value_is_valid &&
498 } else if (current.value_is_valid && current.gradient >= 0) {
524 current.value_is_valid && current.value < bracket_low->value
535 current.value_is_valid
543 DCHECK(!unused_previous.value_is_valid);
562 previous = current.value_is_valid ? current : previous;
567 current.value_is_valid =
573 interpolation_uses_gradients && current.value_is_valid;
591 CHECK(bracket_low.value_is_valid && bracket_low.gradient_is_valid)
602 CHECK(bracket_high.value_is_valid)
661 DCHECK(!unused_previous.value_is_valid);
674 solution->value_is_valid =
680 interpolation_uses_gradients && solution->value_is_valid;
681 if (!solution->value_is_valid) {
710 solution->value_is_valid =
714 solution->gradient_is_valid = solution->value_is_valid;
715 if (!solution->value_is_valid) {