arithmetic

时间:2023-03-09 03:49:57
arithmetic

arithmetic

arithmetic

字典序算法 
http://www.cnblogs.com/darklights/p/5285598.html

arithmetic

字典排序(lexicographical order)是一种对于随机变量形成序列的排序方法。其方法是,按照字母顺序,或者数字小大顺序,由小到大的形成序列。

比如说有一个随机变量X包含{1 2 3}三个数值。
  
字典排序就是{} {1} {1 2} {1 2 3} {2} {2 3} {3}