Constant time enumeration of weighted trees

This study specifically addresses the enumeration problem of the class of weighted trees. A weighted tree is a rooted unordered tree, and each vertex in a weighted tree is assigned an integer weight. The task is to enumerate the weighted trees. Given a tree T and a weight w , the objective is to enumerate all weighted trees that share the same tree structure as T and have a total weight of w . Note that the weight assigned to each vertex must be non-negative. The algorithm utilizes reverse search and enumerates each weighted tree in a constant amortized time. By combining our findings with the enumeration of the class of rooted trees, we can efficiently enumerate every weighted tree with a maximum of n vertices and a total weight of w for any given positive inputs n and w .

Authors

Institutions

Publication Details

Journal
Discrete Applied Mathematics
Published
2025-06-13
DOI
https://doi.org/10.1016/j.dam.2025.05.043
Citations
2
Primary Topic
Graph theory and applications
Type
article
Field-Weighted Citation Impact
8.18
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Constant time enumeration of weighted trees

Mengze Qian, Ryuhei Uehara
2 citations
Discrete Applied Mathematics
Graph theory and applications
8.18
article

Constant time enumeration of weighted trees

Mengze Qian, Ryuhei Uehara
article en
2 citations

Abstract

This study specifically addresses the enumeration problem of the class of weighted trees. A weighted tree is a rooted unordered tree, and each vertex in a weighted tree is assigned an integer weight. The task is to enumerate the weighted trees. Given a tree T and a weight w , the objective is to enumerate all weighted trees that share the same tree structure as T and have a total weight of w . Note that the weight assigned to each vertex must be non-negative. The algorithm utilizes reverse search and enumerates each weighted tree in a constant amortized time. By combining our findings with the enumeration of the class of rooted trees, we can efficiently enumerate every weighted tree with a maximum of n vertices and a total weight of w for any given positive inputs n and w .

Discrete Applied MathematicsVol. 375
Japan Advanced Institute of Science and Technology (JP)
Openalex Percentile: Top 3%
Graph theory and applications
8.18
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.