جميع الكتب

مهني

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المسارات المهنية عبر الإنترنت
التطبيقات حول المدرب تسجيل الدخول ابدأ القراءة

Computer Science · المسرد

ما معنى Tree of activations؟

يُعرف أيضًا باسم: call tree

Definition 3.5 University Computer Science — Year 1 · الفصل 3 — Functions and the Call Stack

The tree of activations (or call tree) of a run has one node per call; the children of a node are the calls made directly by that call, in order. Its root is the first call, its leaves the calls that made no call. The number of calls is the number of nodes; the greatest number of frames on the stack at once is the height of the tree, counted in nodes.

The tree of activations of binom(4, 2), nodes labelled (n, k), leaves shaded. Thick outlines: the four frames on the stack when the call binom(1, 1) of the right subtree runs, which is a path from the root. The run makes 11 calls, the number of nodes, but needs at most 4 frames, the height.
The tree of activations of binom(4, 2), nodes labelled (n,k)(n, k), leaves shaded. Thick outlines: the four frames on the stack when the call binom(1, 1) of the right subtree runs, which is a path from the root. The run makes 11 calls, the number of nodes, but needs at most 4 frames, the height.
اقرأ في الفصل →