



Besser lernen dank der zahlreichen Ressourcen auf Docsity
Heimse Punkte ein, indem du anderen Studierenden hilfst oder erwirb Punkte mit einem Premium-Abo
Diese Seite wird in der Vorschau nicht angezeigt
Lass dir nichts Wichtiges entgehen!




GraphSearch Tree +add to Q only if not explored Wenig Redundanz/Zeit -- -- BestFS Graph + Priority-Q Suche bis alle Optionen schlechter als akt. Lsg.
BreadthFS Graph +FIFO-Q Erstes Ziel ist bestes Ziel 𝑏𝑑^ 𝑏𝑑 DFS Tree + LIFO-Q Bricht bei erstem Ziel ab 𝑏𝑑^ 𝑏 ∗ 𝑑 Iterative DFS DFS + iterative Tiefe (BFS) Complete +optimal 𝑏𝑑^ 𝑏 ∗ 𝑑 Bidirektional BFS + if expand(N1) in reached(N2) combine solution Speicher! 𝑏𝑑/^2 𝑏𝑑/^2
full: forget worst node+store in predcessr Bester A Bidirektion A* f2(n) = max(2g(n) , g(n)+f(n) ) other f(n) possible
if cycle: repeat until dif outcome Conditional And-Or-Search OR-Search: AND-SEARCH for each action AND-SEARCH: OR-SEARCH for each state
Abbruch bei cycle Belief states Assumption: illegal actions have no effect:
union of all actions in every belief state
Constraint learning Remember No-Goods! Speicher! Bounds Propagation 2 flights with capacity [0,100] for 150 passengers - > [50,100]
da: max n arcs, und nur 1x für jeden Arc Cutset Conditioning Choose „cycle cutset “S, solve problem for each assignment of S
Mit c = |cutset| Tree Decomposition Three requirements:
W = max |subproblem| Value Symmetry Symmetry-breaking-constraint (e.g.: ordering) 1/n!
sound: derives ∝ only if WB⊨ 𝛼, complete; derives all entailed sentences Name Beschreibung Anmerkung Model checking Enumerate +check all models 𝑂( 2 𝑛) Truth Table Enumeration return TT (∝, rest, {A = true}) | TT(…) 𝑂( 2 𝑛) Inference Add ¬∝ +apply rules to get □ DeMorgan… Resolution(spez. Inferenz) Add ¬∝ + CNF + apply Modus Ponens to get □ Forward chaining Check if premise is satisfied, if so add conclusion, stop at goal - >remember var, so it only fires 1x Input: Horn-Clauses Backward chaining Start with goal, check all rules with goal in conclusion, if premise is unknown operate with that as subgoal - >AND-OR-SEARCH OR: all rules with goal in conclusion
AND: all premises in rule Input: Horn-Clauses
Component analysis If subsets share no unassigned var - > solve separate Trick Variable and Value ordering Similar to MRV-/Degree-/Least-Constraining-Value- Heuristics Trick Random restarts If no progress, restart with different random choices Trick WalkSAT Hillclimbing (choose unsatisfied clause, increase number of satisfied clauses + random choices) Local search
best algo Einschub: Belief State zu groß - > Approximation mit 1-CNF (A & B &…)
UNIFY-VAR 1. If {y /y´´}: UNIFY (x, y´´)
efficient Magic Set Approach Add Magic(x) to every premise + add Magic(West) Avoid irrelevant facts - > right variable Implemented in Datalog