MGF multivariate generating function 多变量生成函数
multivariate generating function MGF 多变量生成函数
MGF多变量生成函数multivariate generating function
定义

比如,以前可能让你计数有\(k-1\)个逆序对的n-排列个数\(A(n,k)\)
现在让你计数
指定了n-排列圆分解后各个长度\(j\)的cycles的个数\(\chi_j\),让你计数
或者,指定了各字符出现频数的长n的字符串个数

例子
the exponential MGF of permutation with \(u_1,u_2\) marking the number of 1-cycles and 2-cycles to be
\]
可以想象其实还有其他的\(u_j\),这些\(u_j\)都取1了
如果取$u_1=u_2=1 $ , 对应的是计数所有的n-排列个数的EGF
\]
对应的计数是\(n!\)
如果\(u_1=0,u_2=1\),给出derangement(错排;长度为1的cycles的个数为0)的EGF
\]
对应的计数是\((n!)(\frac{1}{2!}-\frac{1}{3!}...+(-1)^{n}\frac{1}{(n)!})\)
如果\(u_1=u_2=0\) ,给出所有的cycles长度都大于2的n-排列个数的EGF
\]
对应的计数是$
a(n) = \sum_{i=3..n} \binom{n-1}{i-1}\cdot (i-1)! \cdot a(n-i).a(0)=1,a(1)=0,a(2)=0$ https://oeis.org/A038205
如果置\(u_1=u,u_2=1\),给出有k个singleton cycles(k个位置正好不变)的n-排列的EBGF
\]
对应的计数是 \(\tbinom{n}{k}(n-k)!(\frac{1}{2!}-\frac{1}{3!}...+(-1)^{n-k}\frac{1}{(n-k)!})\)
Extremal parameters
现在要研究这样的问题:
比如:
一个例子是the largest component in a combinatorial structure (for instance, the largest cycle of a permutation) ,指定了排列的长度\(n\)和最大的cycle长度\(k\),让你计数
另一个例子是 the maximum degree of nesting of constructions in a recursive structure (typically, the height of a tree). 制定了树的节点数\(n\)和树的的高度\(h\),让你计数
面对这样的问题,(传统的)BGF无能为力。
III.8.1 largest components

例子1 decomposition of permutations
the cycle decomposition of permutations translated by
\]
使用truncation后,得到the EGF of permutations with longest cycle≤ b
\]
by the way,the EGF of permutations with smallest cycle of size > b
\exp(\log \frac{1}{1-z}-\frac{z}{1}-\frac{z^{2}}{2}-\cdots-\frac{z^{b}}{b})=\frac{1}{1-z}\exp(-\frac{z}{1}-\frac{z^{2}}{2}-\cdots-\frac{z^{b}}{b})
\end{aligned}
\]
例子2 words over an m–ary alphabet
the EGF of words over an m–ary alphabet
\]
使用truncation后,得到the EGF of words such that each letter occurs at most b times
\]
例子3 set partitions
the EGF of set partitions
\]
the EGF of set partitions with largest block of size at most b
\]
例子4 the longest run in a sequence of binary draws

\(\mathcal{W}=\operatorname{SEQ}(a) \cdot \operatorname{SEQ}(b \operatorname{SEQ}(a))\)这么写有点正则的感觉,比如aabbbaabaa分解过来就是 aa|b|b|baa|baa
III.8.2 Height

例子1 plane trees
general plane trees定义是这样的
\]
定义一个树的高度是最长的分支(branch)的边的个数,那么the set of trees of height\(\leq h\) 满足如下的递归关系
\]
对应的OGF满足
\]
展开得到(别问连分数怎么打的,问就是\frac套\frac)
\]
例子2 plane binary trees
平面二叉树定义如下
\]
递归关系是
\]
得到
\]
例子3 Cayley trees
CayleyTree词条 所有非叶子节点的度都为\(n\)的树叫n-CayleyTree
Cayley树定义方程
\]
有界高度的CayleyTrees的EGF的递归关系
\]
得到\(T^{[h]}(z)\)的"连指数“形式
\]
III 8.3 Averages and moments
没看懂

资料来自网络
书用的是Analytic Combinatorics by Philippe Flajolet, Robert Sedgewick
MGF multivariate generating function 多变量生成函数的更多相关文章
- 矩量母函数(Moment Generating Function,mgf,又称:动差生成函数)
在统计学中,矩又被称为动差(Moment).矩量母函数(Moment Generating Function,简称mgf)又被称为动差生成函数. 称exp(tξ)的数学期望为随机变量ξ的矩量母函数,记 ...
- 【转】母函数(Generating function)详解 — TankyWoo(红色字体为批注)
母函数(Generating function)详解 - Tanky Woo 在数学中,某个序列的母函数(Generating function,又称生成函数)是一种形式幂级数,其每一项的系数可以提供 ...
- 母函数(Generating function)详解
母函数(Generating function)详解 在数学中,某个序列的母函数(Generating function,又称生成函数)是一种形式幂级数,其每一项的系数可以提供关于这个序列的信息.使用 ...
- polynomial&generating function学习笔记
生成函数 多项式 形如$\sum_{i=0}^{n}a_i x^i$的代数式称为n阶多项式 核函数 {ai}的核函数为f(x),它的生成函数为sigma(ai*f(i)*x^i) 生成函数的加减 {a ...
- 读书笔记 1 of Statistics :Moments and Moment Generating Functions (c.f. Statistical Inference by George Casella and Roger L. Berger)
Part 1: Moments Definition 1 For each integer $n$, the nth moment of $X$, $\mu_n^{'}$ is \[\mu_{n}^{ ...
- 母函数(Generation Function) 入门 + 模板
转自:母函数 入门 + 模板 感谢 在数学中,某个序列的母函数(Generating function,又称生成函数)是一种形式幂级数,其每一项的系数可以提供关于这个序列的信息.使用母函数解决问题的 ...
- 生成函数(TBC)
生成函数 生成函数 (Generating Function) 的应用简单来说在于研究未知(通项)数列规律,用这种方法在给出递推式的情况下求出数列的通项. 对于一个数列 aaa,称f(x)=∑i=0n ...
- [zz] 混合高斯模型 Gaussian Mixture Model
聚类(1)——混合高斯模型 Gaussian Mixture Model http://blog.csdn.net/jwh_bupt/article/details/7663885 聚类系列: 聚类( ...
- HDU 2082 母函数模板题
找单词 Time Limit: 1000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64u Submit Status De ...
- 整数划分 Integer Partition(一)
话说今天百度面试,可能是由于我表现的不太好,面试官显得有点不耐烦,说话的语气也很具有嘲讽的意思,搞得我有点不爽.Whatever,面试中有问到整数划分问题,回答这个问题过程中被面试官搞的不胜其烦,最后 ...
随机推荐
- Authentication is required to set the network proxy
在使用VNC访问集群的时候,总是弹出"Authentication is required to set the network proxy used for downloading pac ...
- Flink生产数据到Kafka频繁出现事务失效导致任务重启
在生产中需要将一些数据发到kafka,而且需要做到EXACTLY_ONCE,kafka使用的版本为1.1.0,flink的版本为1.8.0,但是会很经常因为提交事务引起错误,甚至导致任务重启 kafk ...
- Delphi实现大写字母键打开提示
uses XPMan 编辑框的passwordChar属性设置成 *
- redis统计用户活跃数量
1.说明,redis 位图存储节省内存,用户id:156,1333; 如果用户登录,根据日期存储为1 setbit 20209001 156 1 ;//id为156的用户在1月1号登录了 setbit ...
- Xcode常用&开发常用
p.p1 { margin: 0; font: 12px "Helvetica Neue" } p.p2 { margin: 0; font: 12px "Helveti ...
- 在VUE里实现一个简单的中国地图
如何在vue里面实现一个简单的中国地图,并且实现一些简单的个性化修改. 下面是最终实现的效果图.透明的地图加一个背景图. 1.在你的项目里安装echarts的依赖 npm install echart ...
- vue父子组件,子组件调用父组件方法
问题描述:在table页面修改数据后,想刷新页面.修改页面以子组件的形式写的,现在想在子组件里面调用父组件的方法实现页面刷新! 将问题google后,以下两种方法都尝试过了,但是不起作用......大 ...
- WKWebView与JS的交互
转载:https://www.jianshu.com/p/253e76a74b38 用普通的UIWebView和JS交互 大概核心代码是这样的 - (void)setupWebView{ self.w ...
- 4、word—截图的试卷背景为黑色,如何去掉呢?
1.[图片格式]->[校正]->[锐化50%] 2.[图片格式]->[校正]->[亮度/对比度]选择一个适合自己的
- 【PyQt6】Python使用QtCharts画图修改背景色的问题
问题 想在软件界面用PyQt6的QtChart新画一张饼图,自定义一个饼图类继承QChartView: class PyPieChart(QChartView): def __init__( self ...