The combinatorial core of the OVSF code assignment problem that arises in UMTS is to assign some nodes of a complete binary tree of height h (the code tree) to n simultaneous connections, such that no two assigned nodes (codes) are on the same root-to-leaf path. Each connection requires a code on a specified level. The code can change over time as long as it is still on the same level. We consider the one-step code assignment problem: Given an assignment, move the minimum number of codes to serve a new request. Minn and Siu proposed the so-called DCAalgorithm to solve the problem optimally. We show that DCA does not always return an optimal solution, and that the problem is NP-hard. We give an exact nO(h)-time algorithm, and a polynomial time greedy algorithm that achieves approximation ratio Θ(h). Finally, we consider the online code assignment problem for which we derive several results
标签: combinatorial assignment problem arises
上传时间: 2014-01-19
上传用户:BIBI
这是一个数据结构的小程序,非递归的avl树实现,用到了穿线法
上传时间: 2014-07-17
上传用户:努力努力再努力
Huffman codes In telecommunication, how do we represent a set of messages, each with an access frequency, by a sequence of 0’s and 1’s? To minimize the transmission and decoding costs, we may use short strings to represent more frequently used messages. This problem can by solved by using an extended binary tree which is used in the 2- way merging problem.
标签: telecommunication represent messages Huffman
上传时间: 2014-01-04
上传用户:x4587
读取XML信息,显示在tree上。并且提供各种控制功能
上传时间: 2013-12-19
上传用户:gououo
用C实现了线程安全的哈希表,AVL树、红黑树、HTTP客户端等等,不错的开源库,推荐使用
标签: 线程
上传时间: 2013-12-27
上传用户:busterman
This is an implementation of double-array structure for representing trie, as proposed by Junichi Aoe [1]. Trie is a kind of digital search tree, an efficient indexing method with O(1) time complexity for searching. Comparably as efficient as hashing, trie also provides flexibility on incremental matching and key spelling manipulation. This makes it ideal for lexical analyzers, as well as spelling dictionaries. See the details of the implementation at [2]: http://linux.thai.net/~thep/datrie/datrie.html Historically, this was first implemented as C++ classes in a library called midatrie [2], but later simplified and rewritten from scratch in C.
标签: implementation double-array representing structure
上传时间: 2013-12-10
上传用户:shinesyh
spoj dtree. Count the number of distinct elements in a given range. Usage is done using fenwick trees. Offline algorithm for queries
标签: distinct elements fenwick number
上传时间: 2014-01-20
上传用户:lhw888
自己编的,在VB中实现普里姆最小生成树算法的代码,有图的,边的权值是随机生成的,5个节点,点“generate tree”,就会显示出最小树。
标签:
上传时间: 2017-04-09
上传用户:Andy123456
一个简单的Ext例子,里面有Ext.grid.GridPanel和Ext.tree.TreePanel等Ext常用控件的使用,以及Ext和后台的交互
标签: Ext
上传时间: 2013-12-23
上传用户:qweqweqwe
伸展树,基本数据结构,The tree is drawn in such a way that both of the edges down from a node are the same length. This length is the minimum such that the two subtrees are separated by at least two blanks.
标签: 树
上传时间: 2017-05-07
上传用户:JIUSHICHEN