Home | History | Annotate | Download | only in pdt

Lines Matching refs:stack_

90         stack_(opts.stack ? opts.stack: new PdtStack<StateId, Label>(parens)),
107 stack_(new PdtStack<StateId, Label>(*impl.stack_)),
120 delete stack_;
181 StackId stack_id = stack_->Find(tuple.stack_id, arc.ilabel);
197 const PdtStack<StackId, Label> &GetStack() const { return *stack_; }
206 PdtStack<StackId, Label> *stack_;
356 stack_(parens),
358 ExpandFstOptions<Arc>(opts, true, &stack_, &state_table_)),
359 queue_(state_table_, stack_, stack_length_, distance_, fdistance_) {
396 : state_table_(st), stack_(s), stack_length_(sl),
415 for (; si1 != si2; si1 = stack_.Pop(si1), si2 = stack_.Pop(si2)) {
416 if (stack_.Top(si1) < stack_.Top(si2)) return true;
417 if (stack_.Top(si1) > stack_.Top(si2)) return false;
424 const Stack &stack_;
468 Stack stack_; // Stack trie
757 ssize_t paren_id = stack_.ParenId(arc.ilabel);
836 current_paren_id_ = stack_.Top(current_stack_id_);
843 ssize_t paren_id = stack_.Top(si);
857 PdtStateTuple<StateId, StackId> tuple(arc.nextstate, stack_.Pop(si));
900 else if (stack_id == stack_.Pop(nextstack_id))