Languages |
Document last modified: |
The Longest Simple Cycle (LSC) problem determines the longest path <v0, v1, ..., vk> of a directed graph such that v0=vk and <v1, ..., vk> are distinct.
a) For the Longest Simple Cycle (LSC) problem, give the language LSCL:
b) Define the instance of LSCL for the graph at right.
c) LSCL's I - is the set of all problem instances of the LSCL. Define a problem instance for the graph at right. (G)
d) LSCL's S - is the set of all LSCL solutions. What is S?
e) For the Longest Simple Cycle (LSC) decision problem, give the language LSCLD:
f) Define the instance of LSCLD for the graph at right and a problem instance.
g) Define a problem instance of LSCLD for the graph at right.
h) Give the result of g).