首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C/C++/VC++ > C++实现的可变长度的在线字典LCA

C++实现的可变长度的在线字典LCA

  • 资源大小:78.85 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 字典 LCA 在线 长度 实现 可变

资 源 简 介

Introduction OLCA++ is a c++ implementation of online LCA (1), which is an online grammar-based compression algorithm. It takes a text as input, and builds a straight line program consisting of restricted production rules in a context free grammar . Our implementation uses a variable-length dictionary for memory-efficiency (2). Quick Start To compile olca++ , please type the following commands: tar -xjvf online-lca-vld-public-X.X.X.tar.bz2cd online-lca-vld-public-X.X.X/srcmake To build a grammar from a given text, please type the following command: ./olca-compress ../dat/ex.txt grammar where ex.txt is an input text and grammar is an output file. To recover an original text from a grammar, please type the following command: ./olca-decompress grammar output.txt where output.txt is the recovered text. References (1) S. Maruyama, H. Sakamoto, M. Takeda, An Online Algorithm for Lightweight

文 件 列 表

olca++-0.0.6
dat
src
test

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.213871s