TM::Index::Taxonomy(3) Topic Maps, Indexing support (match layer)

SYNOPSIS


# somehow get a map (any subclass of TM will do)
my $tm = ...
# one option: create a lazy index which learns as you go
use TM::Index::Taxonomy;
my $idx = new TM::Index::Taxonomy ($tm)->populate;

# for most operations which involve taxonometric functions to be called
# that should be much faster

DESCRIPTION

This index can be attached to a map if querying it for subclass/superclass and/or instances/classes is intensive.

The package inherits most of its functionality from TM::Index.

INTERFACE

Constructor

The constructor/destructor is inherited from TM::Index.

Methods

COPYRIGHT AND LICENSE

Copyright 2010 by Robert Barta, <[email protected]>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.