| 608 | } |
| 609 | |
| 610 | void RowScratchRegisters::NonNullHypotheses(SetOfModels *models) const { |
| 611 | for (int h = 0; h < hypotheses_.size(); h++) { |
| 612 | if (hypotheses_[h].model != NULL) |
| 613 | models->push_back_new(hypotheses_[h].model); |
| 614 | } |
| 615 | } |
| 616 | |
| 617 | const ParagraphModel *RowScratchRegisters::UniqueStartHypothesis() const { |
| 618 | if (hypotheses_.size() != 1 || hypotheses_[0].ty != LT_START) |
no test coverage detected