Permutation Graph Checker

inversion graph of π

All Tools

Loading tool...

About Permutation Graph Checker

A permutation graph checker testing if G arises from a permutation π: vertices i,j adjacent iff i<j but π(i)>π(j) (inversion). Equivalently: intersection graph of line segments between two parallel lines. Perfect, comparability ∩ co-comparability. Client-side.

Permutation Graph Checker Features

  • Permutation test
  • Find π
  • Inversions
  • Perfect
  • O(n+m)
Advertisement
Advertisement