Constant time generation of linear extensions

  • Authors:
  • Akimitsu Ono;Shin-ichi Nakano

  • Affiliations:
  • Gunma University, Kiryu-Shi, Japan;Gunma University, Kiryu-Shi, Japan

  • Venue:
  • FCT'05 Proceedings of the 15th international conference on Fundamentals of Computation Theory
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Given a poset $\mathcal{P}$, several algorithms have been proposed for generating all linear extensions of $\mathcal{P}$. The fastest known algorithm generates each linear extension in constant time “on average”. In this paper we give a simple algorithm which generates each linear extension in constant time “in worst case”. The known algorithm generates each linear extension exactly twice and output one of them, while our algorithm generates each linear extension exactly once.