Marvin Humphrey
and 1 contributors

NAME

KinoSearch::Highlight::HeatMap - Density of relevant data in a string.

SYNOPSIS

    # TODO.

DESCRIPTION

Density of relevant data in a string.

A HeatMap stores a number for each location in a string, indicating the "heat" (density) of relevant data in areas which match a search query.

CONSTRUCTORS

new( [labeled params] )

    my $heat_map = KinoSearch::Highlight::HeatMap->new(
        spans  => \@highlight_spans,
        window => 100,
    );
  • spans - An array of Spans, which need not be sorted and will not be modified.

  • window - The greatest distance between which heat points may reinforce each other.

INHERITANCE

KinoSearch::Highlight::HeatMap isa KinoSearch::Object::Obj.

COPYRIGHT AND LICENSE

Copyright 2005-2010 Marvin Humphrey

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