Local and global relational consistency

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

LocalandGlobalRelationalConsistencyRinaDechter1andPetervanBeek21DepartmentofInformationandComputerScienceUniversityofCalifornia,IrvineIrvine,California,USA92717dechter@ics.uci.edu2DepartmentofComputingScienceUniversityofAlbertaEdmonton,Alberta,CanadaT6G2H1vanbeek@cs.ualberta.caAbstract.Localconsistencyhasproventobeanimportantconceptinthetheoryandpracticeofconstraintnetworks.Inthispaper,wepresentanewdenitionoflocalconsistency,calledrelationalconsistency.Thenewdenitionisrelation-based,incontrastwiththepreviousdenitionoflocalconsistency,whichwecharacterizeasvariable-based.Weshowtheconceptualpowerofthenewdenitionbyshowinghowituniesknowneliminationoperatorssuchasresolutionintheoremproving,joinsinrela-tionaldatabases,andvariableeliminationforsolvinglinearinequalities.Algorithmsforenforcingvariouslevelsofrelationalconsistencyarein-troducedandanalyzed.Wealsoshowtheusefulnessofthenewdenitionincharacterizingrelationshipsbetweenpropertiesofconstraintnetwork-sandtheleveloflocalconsistencyneededtoensureglobalconsistency.1IntroductionConstraintnetworksareasimplerepresentationandreasoningframework.Aproblemisrepresentedasasetofvariables,adomainofvaluesforeachvariable,andasetofconstraintsbetweenthevariables.Acentralreasoningtaskisthentondaninstantiationofthevariablesthatsatisestheconstraints.Ingeneral,whatmakesconstraintnetworkshardtosolveisthattheycancontainmanylocalinconsistencies.Alocalinconsistencyisaconsistentinstan-tiationofk1ofthevariablesthatcannotbeextendedtoakthvariableandsocannotbepartofanyglobalsolution.Ifweareusingabacktrackingsearchtondasolution,suchaninconsistencycanleadtoadeadendinthesearch.Thisinsighthasledtothedenitionofconditionsthatcharacterizetheleveloflocalconsistencyofanetwork[29,33]andtothedevelopmentofalgorithmsforenforcinglocalconsistencyconditionsbyremovinglocalinconsistencies(e.g.,[33,29,19,12,6]).Inthispaper,wepresentanewdenitionoflocalconsistencycalledrelationalconsistency3.Thevirtueofthenewdenitionoflocalconsistencyisthat,rstly,itremovestheneedforreferencingthearityoftheconstraintswhendiscussing3Apreliminaryversionofthisdenitionappearsin[37].relationshipsbetweenthepropertiesoftheconstraintsandlocalconsistency.Secondly,itisoperational,thusgeneralizingtheconceptofthecompositionoperationdenedforbinaryconstraints,andcanbeincorporatednaturallyinalgorithmsforenforcingdesiredlevelsofrelationalconsistency.Thirdly,ituni-esknownoperatorssuchasresolutionintheoremproving,joinsinrelationaldatabases,andvariableeliminationforsolvingequationsandinequalities,thusallowingtheformulationofaneliminationalgorithmthatgeneralizesalgorithmsappearingineachoftheseareas.Finally,itallowsidentifyingthoseformalismsforwhichconsistencycanbedecidedbyenforcingaboundedlevelofrelationalconsistency,likepropositionaldatabases,linearequalitiesandinequalities,andcrosswordpuzzlesfromgeneraldatabasesrequiringhigherlevelsofrelationalconsistency.Wealsodemonstratetheusefulnessofthenewdenitionincharac-terizingrelationshipsbetweenvariouspropertiesofconstraintnetworks|domainsizeandacyclicity|andtheleveloflocalconsistencyneededtoensureglobalconsistency.Followingdenitionandpreliminaries(section2),relationallocalconsistencyisdenedandalgorithmsforenforcingsuchconditionsareintroduced(section3).Section4showsthatthealgorithmsunifyalgorithmsappearinginpropositionaldatabasesandlinearinequalities.Finally,section5describesnewassociationsbetweenconstraintpropertiesandrelationallocalconsistencyneededforglobalconsistency.Discussionandconclusionsaregiveninsections6and7respectively.2DenitionsandPreliminariesDenition1(constraintnetwork).4AconstraintnetworkRisasetofnvariablesX=fx1;...;xng,adomainDiofpossiblevaluesforeachvariablexi,1in,andasetoftrelationsRS1,...,RSt,whereSiX,1in.AconstraintorrelationRSoverasetofvariablesS=fx1;...;xrgisasubsetoftheproductoftheirdomains(i.e.,RSD1Dr).ThesetofsubsetsfS1;...;StgonwhichconstraintsarespeciediscalledtheschemeofR.Abinaryconstraintnetworkisthespecialcasewhereallconstraintsareoverpairsofvariables.Aconstraintgraphassociateseachvariablewithanodeandconnectsanytwonodeswhosevariablesappearinthesameconstraint.Denition2(solutiontoaconstraintnetwork).Aninstantiationofthevari-ablesinX,denotedXI,isann-tuple(a1;...;an),representinganassignmentofai2Ditoxi,1in.Aconsistentinstantiationofanetworkisaninstan-tiationofthevariablessuchthattheconstraintsbetweenvariablesaresatised.Aconsistentinstantiationisalsocalledasolution.Theorderofthevariablesconstrainedbyarelationisnotimportant;thatis,wefollowtheset-of-mappingsformulationofrelations(see[34]).Thenotionofaconsistentinstantiationofasubsetofthevariablescanbedenedinseveral4Notethatallthedenitionsandalgorithmsareapplicabletorelationswithoutthenitenessassumption;apointwemakeexplicitinsection4.22ways.Weusethefollowingdenition:aninstantiationisconsistentifitsatisesalloftheconstraintsthathavenouninstantiatedvariables.Denition3(consistentinstantiationofsubsetsofvariables).LetYandSbesetsofvariables,andletYIbeaninstantiationofthevariablesinY.Wede-notebyYI

1 / 26
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功