Why horn formulas algorithm is greedy? -
i understand horn formula , follow:
but cant understand why taught in section related greedy algorithms, can not see greedy part of horn formula. can help?
the algorithm greedy in tries build satisfying assignment unsatisfying assignment incrementally flipping variables true. can viewed "greedy" because algorithm makes local decisions (make true in order satisfying specific clause without regards happens later) rather global decisions, , never backtracks decisions (unlike many other sat solving algorithms).
hope helps!
Comments
Post a Comment