Formal Definition For NP-completeness
There are many equivalent ways of describing NP-completeness.
Let be a language over a finite alphabet .
is NP-complete if, and only if, the following two conditions are satisfied:
- ; and
- any is polynomial-time-reducible to (written as ), where if, and only if, the following two conditions are satisfied:
- There exists such that
; and - there exists a polynomial-time Turing machine that halts with on its tape on any input .
- There exists such that
Read more about this topic: P Versus NP Problem
Famous quotes containing the words formal and/or definition:
“Two clergymen disputing whether ordination would be valid without the imposition of both hands, the more formal one said, Do you think the Holy Dove could fly down with only one wing?”
—Horace Walpole (17171797)
“One definition of man is an intelligence served by organs.”
—Ralph Waldo Emerson (18031882)