文件名称:Set-IntervalTree:在范围集上执行基于范围的查找
文件大小:19KB
文件格式:ZIP
更新时间:2024-05-20 10:41:05
Perl
名称 Set :: IntervalTree-对范围集执行基于范围的查找 版本 版本0.12 概要 use Set::IntervalTree; my $tree = Set::IntervalTree->new; $tree->insert("ID1",100,200); $tree->insert(2,50,100); $tree->insert({id=>3},520,700); $tree->insert($some_obj,1000,1100); my $results = $tree->fetch(400,800); my $window = $tree->fetch_window(100,200); print scalar(@$results)." intervals found.\n"; # remove only items overlapping location 1
【文件预览】:
Set-IntervalTree-master
----.travis.yml(162B)
----perlobject.map(3KB)
----IntervalTree.xs(6KB)
----typemap(418B)
----t()
--------fetch-nearest.t(538B)
--------fetch_window.t(2KB)
--------Set-IntervalTree.t(2KB)
----author_test()
--------test_main.cc(1KB)
--------Makefile(84B)
----MANIFEST.SKIP(15B)
----appveyor.yml(588B)
----README(485B)
----lib()
--------Set()
----interval_tree.h(32KB)
----README.md(4KB)
----Changes(693B)
----.gitattributes(55B)
----dist.ini(1KB)