Skip to main content
student0's user avatar
student0's user avatar
student0's user avatar
student0
  • Member for 1 year, 11 months
  • Last seen more than 1 year ago
awarded
awarded
comment
Is this variant of Exact Path Length Problem easy or NP Complete
I am not understanding these succinct comments at all.. can you please elaborate in one full comment
comment
Is this variant of Exact Path Length Problem easy or NP Complete
yes but that changes the problem and still there is the issue of all values can form a valid subset.. but a path may or may not exist (ordering matters) and so does existence of edges!
comment
Is this variant of Exact Path Length Problem easy or NP Complete
moreover there the ordering does not matter.. any sub set is a valid potential answer.. here a path may not exist (depending on the edge's direction, or if the edge exists at all)?
comment
Is this variant of Exact Path Length Problem easy or NP Complete
@Dmitry I am struggling to see how.. can you please elaborate: en.wikipedia.org/wiki/Subset_sum_problem - In subset sum we are given a fixed multiset (am I correct?) here I can repeat any edge any number of times. so doesn't it make them different ?
revised
Loading…
revised
Loading…
comment
Is this variant of Exact Path Length Problem easy or NP Complete
if possible can you please clarify regarding exact path version too?
revised
Loading…
comment
Is this variant of Exact Path Length Problem easy or NP Complete
any directed graph. i mean other than a vertex having a direct edge to itself or the graph being disconnected pretty much any general graph not just digraphs.
comment
Is this variant of Exact Path Length Problem easy or NP Complete
Thank you. I understand. But this is regarding longest path. what about exact path. In that too it mentions negative and positive weights. why not just positive? for some similar reason (i don't see it why)?
Loading…
comment
Difference b/w Functional and Decisional Problem's computational complexity
2. In this link of problems in $P$ (en.wikipedia.org/wiki/P-complete) the examples are: "Circuit Value Problem (CVP) – Given a circuit, the inputs to the circuit, and one gate in the circuit, calculate the output of that gate." Aren't they supposed to be just YES/NO problems in P. These seem functional version examples. I am confused here?
awarded
comment
Difference b/w Functional and Decisional Problem's computational complexity
Thank you. I understood both parts. Follow up query though: 1. For an input $x$ with running time of $T_f$ given by some function $r_f(|x|)$ can we ALWAYS have a logic/function such that the decision version Turing machine $T_d$ has also the same running time i.e. $r_f(|x|)=r_d(|x|)$. Notice we even in decision variant are using the running time only over $x$?
awarded
awarded