Docsity

Algorithmic Problem Solving, Revision Notes- Mathematics - 1, Study notes of Mathematics

Partial preview of the text

Download Algorithmic Problem Solving, Revision Notes- Mathematics - 1 and more Study notes Mathematics in PDF only on Docsity!

Revision © ~— Invariants ° Brute-Force search, Stote-transition Diagrams ° Games ° Logie Puzzles ° Tnduction Trvari ants Elxs := es] denotes expression E after the assignment ms 32 25, Examples x(x ie axel] = xal (xey) Loy ” yl . (y=) (ms 2xn)L mn c= m3, man} = (me3) + x(mxn) Trvoriont E is on invariant of xs :=es if E = E[xs := es) . Ass 1gn men £ TInariant Applica Lion 5 Cis 0+3 c mod 3 Cc i= C42 c mod 2 / even.c tiling c:= c+k c mod k