S t at e R e pr e se n ta t io n a n d P ol y om i no P la c em e nt f or t he G am e P a tc h wo r k Mikael Zayenz Lagerkvist
[G a me] S t at e R e pr e se n ta t io n
P o ly o mi n o P l ac e me n t
t h e G am e P a tc h wo r k
W h at i s P at c hw o rk? 4 R elease d 20 1 4 by U w e R osenbe r g 4 P opular (p lace 64 on B oard Ga m e G eek ) 4 2-p layer 4 F ull i nforma t ion 4 E xperim e ntally : a verage 23 p lies a n d b ranchi n g f actor 8 3
P a tc h wo r k r ul e s 4 C entral ti m e b oard 4 B uying p atches a n d p lacing on b oards 4 E arn b uttons a n d c over t h e b oard 4 P acking t h e b oard we l l co r e c hallen g e 4 T o b u y a p atch it mu s t fj t on t h e b oard
G a me s ta t e?
G a me s ta t e 4 R eprese n ting t h e c urrent s tate of a g ame 4 M ust s upport n eeds of s urroun d ing c ode 4 P ossibl e m oves , e valuat i on , m aking m oves , ... 4 C lassic a l b oard ga m e e ngines ha v e h yper -o ptimiz e d s mall s tates 4 M odern b oard g ames a r e mo r e c omplex
C o ns t ra i nt p ro g ra m mi n g t o t he r es c ue! U s e c on s tr a in t p r og r am m in g f o r t he p la c em e nt p ar t R e -u s e s ma r t c od e i n s o lv e rs
P l ac e me n t u si n g r eg u la r e x pr e ss i on s 4 B ased on p aper wi t h G illes P esant fr o m 2 008 4 E xtende d w ith 4 E xplici t r otatio n s 4 R eifj e d p laceme n t 4 U sage c onstra i nts
P r op a ga t io n fj n d s a l l p la c ea b le p at c he s
P l ac i ng p at c he s S t ra t eg y = P l ac e me n t p ol i cy + E v al u at i on
P l ac e me n t p ol i ci e s 4 C lassic p acking h eurist i cs su c h as B ottom -L eft 4 C P h eurist i cs b ased 4 M eta -p olicy f o r a l l r otatio n s of p atch 4 A ll p laceme n ts
W h ic h p l ac e me n t? 4 E valuat i on c hooses b etween a lterna t ives 4 G oal is to ma k e be s t c hoice 4 F irst -f ail is t h e w rong a pproac h 4 I n e ssence : on l y l eft -m ost b ranch of s earch t ree 4 I deas : L eft /b ottom -m ost , l east b oundin g b ox , fj r st , r andom , ...
P r op a ga t io n G u id e d G lo b al R eg r et 4 C hoose t h e p laceme n t th a t m akes as l ittle p ropaga t ion as p ossibl e 4 M orally i nverse of i mpact b ased s earch 4 M athy e xpress i on
W h ic h s t ra t eg y i s b e st? 4 1 000 p acking s f o r a l l 1 1 9 c ombina t ions t ested 4 M ost i mporta n t t hing is p ropaga t ion g uided g lobal r egret 4 S mart CP h eurist i cs a r e t h e w rong c hoice f o r p olicy 4 P olicy is a c hoice b etween s peed a n d q uality
K e y t ak e aw a ys 4 G ame s tate r eprese n tation u sing C P 4 P ropaga t ion g ives us ma n y i mporta n t s ignals 4 P lay P atchwo r k ! 4 g ithub .c om /z ayenz /c p -m od -r ef -2 019 -p atchwo r k
T e as e r: N m br9 p o st e r t om o rr o w 4 A nother f u n g ame ! 4 M ore c omplic a ted p olyomi n o p laceme n t p roblem 4 K ey p oints 4 T oo ha r d to s olve wi t h my c urrent be s t m odel 4 O pen c hallen g e , do y o u ha v e a s mart i dea ? 4 g ithub .c om /z ayenz /c p -2 019 -n mbr9 /
T h an k y o u! ~ Q u es t io n s?
Recommend
More recommend