gordonlesti/longest-common-subsequence
Composer 安装命令:
composer require gordonlesti/longest-common-subsequence
包简介
README 文档
README
PHP Implementation of Longest common subsequence algorithm that works with UTF-8 input.
Install
Via Composer
$ composer require gordonlesti/longest-common-subsequence
Usage
use GordonLesti\LongestCommonSubsequence\LongestCommonSubsequence;
Calculates the longest common subsequence of both strings and returns the length.
$lcsDist = LongestCommonSubsequence::lcs("DABDC", "CBDBBAC");
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Security
If you discover any security related issues, please email info@gordonlesti.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-10-17