yesinstances
Yes-instances, sometimes written as yes-instances, yes instances, or simply yesinstances, is a term used in the theory of computation to describe inputs to a decision problem for which the correct answer is "yes." Formally, a decision problem is defined by a language L over some alphabet, and yes-instances are the strings x such that x belongs to L. The complementary set of inputs, where the correct answer is "no," are called no-instances.
In practice, yes-instances illustrate the objects a problem is designed to recognize. For example, in the graph
Yes-instances are central to numerous concepts in computational complexity. Reductions between decision problems often concern preserving
Understanding yes-instances helps clarify what it means for an algorithm to decide a problem, how problems