সব বই

পেশাদার

1 Markets I: The Ecosystem and Exchange-Traded Marketsবাজার অনলাইন 2 Markets II: Rates, FX and Creditবাজার অনলাইন 3 Markets III: Commodities, Energy and Cryptoবাজার অনলাইন 4 Quantitative Methodsপদ্ধতি অনলাইন 5 Derivatives and Volatilityডেরিভেটিভস অনলাইন 6 Rates, Credit, XVA and Riskসুদহার, ঋণ ও ঝুঁকি অনলাইন 7 Research Craft: Predictors, Backtests, Measurement, Portfoliosগবেষণা অনলাইন 8 Strategies I: Equities and Futuresকৌশল অনলাইন 9 Strategies II: Volatility, Relative Value, Macro and the Bank Desksকৌশল অনলাইন 10 Microstructure and Executionএক্সিকিউশন অনলাইন 11 Market Making and High-Frequency Tradingমার্কেট মেকিং অনলাইন 12 Machine Learning for Marketsমেশিন লার্নিং অনলাইন 13 Low-Latency Softwareপ্রযুক্তি অনলাইন 14 Networks, Hardware and Trading Infrastructureপ্রযুক্তি অনলাইন 15 Research, Data and Risk Platformsপ্রযুক্তি অনলাইন 16 The Desk and the Firmপ্রতিষ্ঠান অনলাইন 17 The Industry: Firms, Roles and Careersক্যারিয়ার অনলাইন 18 Interviews I: Maths, Probability and Speedক্যারিয়ার অনলাইন 19 Interviews II: Markets, Trading Games and the Final Roundক্যারিয়ার অনলাইন 20 Interviews III: Codeক্যারিয়ার অনলাইন
অ্যাপ পরিচিতি Coach সাইন ইন পড়া শুরু করো

বইগুলো এখনো বাংলা ভাষায় পাওয়া যায় না — ইংরেজি সংস্করণ দেখানো হচ্ছে।

Computer Science · পরিভাষা

Pushdown automaton কী?

অন্য নাম: stack alphabet

Definition 23.12 University Computer Science — Year 2 · অধ্যায় 23 — Context-Free Grammars and Pushdown Automata

A pushdown automaton (PDA) is (Q,Σ,Γ,Δ,q0,Z0,F)(Q, \Sigma, \Gamma, \Delta, q_0, Z_0, F): a finite set of states QQ, an input alphabet Σ\Sigma, a stack alphabet Γ\Gamma, a finite set Δ\Delta of moves (q,x,Z)→(q′,γ)(q, x, Z) \to (q', \gamma) with x∈Σ∪{ε}x \in \Sigma \cup \{\varepsilon\}, Z∈ΓZ \in \Gamma and γ∈Γ∗\gamma \in \Gamma^*, a start state q0q_0, a bottom symbol Z0∈ΓZ_0 \in \Gamma, and accepting states F⊆QF \subseteq Q. In state qq with ZZ on top of the stack, the move reads xx (nothing if x=εx = \varepsilon), goes to q′q' and replaces ZZ by γ\gamma, whose first symbol ends on top. A configuration is a state, the unread input and the stack. The automaton accepts ww if some sequence of moves leads from (q0,w,Z0)(q_0, w, Z_0) to a configuration with no input left and an accepting state.

A PDA for \anbn\. A label x, Z / reads x with Z on top and replaces it by . State 0 pushes an A per a; the move to 1 guesses the middle; state 1 pops an A per b; state 2 is reached when only the bottom Z is left.
A PDA for {anbn}\{a^nb^n\}. A label x,Z/γx, Z / \gamma reads xx with ZZ on top and replaces it by γ\gamma. State 0 pushes an AA per aa; the move to 1 guesses the middle; state 1 pops an AA per bb; state 2 is reached when only the bottom ZZ is left.
প্রসঙ্গসহ পড়ো →