2009
DOI: 10.1587/transinf.e92.d.166
|View full text |Cite
|
Sign up to set email alerts
|

Path Maximum Query and Path Maximum Sum Query in a Tree

Abstract: SUMMARYLet T be a node-weighted tree with n nodes, and let π(u, v) denote the path between two nodes u and v in T . We address two problems: (i) Path Maximum Query: Preprocess T so that, for a query pair of nodes u and v, the maximum weight on π(u, v) can be found quickly. (ii) Path Maximum Sum Query: Preprocess T so that, for a query pair of nodes u and v, the maximum weight sum subpath of π(u, v) can be found quickly. For the problems we present solutions with O(1) query time and O(n log n) preprocessing tim… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1

Citation Types

0
1
0

Year Published

2023
2023
2023
2023

Publication Types

Select...
1

Relationship

0
1

Authors

Journals

citations
Cited by 1 publication
(1 citation statement)
references
References 7 publications
0
1
0
Order By: Relevance
“…The related problems of finding a single segment with maximum score or 𝑘 segments in a sequence was studied by multiple authors [4,12,13]. A single path can also be found on a weighted tree [14,15]. There are also algorithms for the related maximum density segment problem [16].…”
Section: Notation and Problem Definitionmentioning
confidence: 99%
“…The related problems of finding a single segment with maximum score or 𝑘 segments in a sequence was studied by multiple authors [4,12,13]. A single path can also be found on a weighted tree [14,15]. There are also algorithms for the related maximum density segment problem [16].…”
Section: Notation and Problem Definitionmentioning
confidence: 99%