EconPapers    
Economics at your fingertips  
 

Linear amortized time enumeration algorithms for compatible Euler trails in edge-colored graphs

Yuhang Bai (), Zhiwei Guo (), Shenggui Zhang () and Yandong Bai ()
Additional contact information
Yuhang Bai: Northwestern Polytechnical University
Zhiwei Guo: Yan’an University
Shenggui Zhang: Northwestern Polytechnical University
Yandong Bai: Northwestern Polytechnical University

Journal of Combinatorial Optimization, 2023, vol. 45, issue 2, No 19, 20 pages

Abstract: Abstract A compatible Euler trail (tour) in an edge-colored graph is an Euler trail (tour) in which each two edges traversed consecutively along the Euler trail (tour) have distinct colors. In this paper, we show that the problem of counting compatible Euler trails in edge-colored graphs is $$\#$$ # P-complete, and develop O(mN) time algorithms for enumerating compatible Euler trails (tours) in edge-colored graphs with m edges and N compatible Euler trails (tours). It is worth mentioning that our algorithms can run in O(N) time when there is no vertex v with degree 4 and maximum monochromatic degree 2.

Keywords: Edge-colored graph; Compatible Euler trail; Enumeration algorithm; Linear amortized time; 05C15; 05C30; 05C45; 05C85 (search for similar items in EconPapers)
Date: 2023
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
http://link.springer.com/10.1007/s10878-023-01005-w Abstract (text/html)
Access to the full text of the articles in this series is restricted.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:jcomop:v:45:y:2023:i:2:d:10.1007_s10878-023-01005-w

Ordering information: This journal article can be ordered from
https://www.springer.com/journal/10878

DOI: 10.1007/s10878-023-01005-w

Access Statistics for this article

Journal of Combinatorial Optimization is currently edited by Thai, My T.

More articles in Journal of Combinatorial Optimization from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2025-03-20
Handle: RePEc:spr:jcomop:v:45:y:2023:i:2:d:10.1007_s10878-023-01005-w