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:
“The spiritual kinship between Lincoln and Whitman was founded upon their Americanism, their essential Westernism. Whitman had grown up without much formal education; Lincoln had scarcely any education. One had become the notable poet of the day; one the orator of the Gettsyburg Address. It was inevitable that Whitman as a poet should turn with a feeling of kinship to Lincoln, and even without any association or contact feel that Lincoln was his.”
—Edgar Lee Masters (18691950)
“Perhaps the best definition of progress would be the continuing efforts of men and women to narrow the gap between the convenience of the powers that be and the unwritten charter.”
—Nadine Gordimer (b. 1923)