Fast algebraic methods for interval constraint pro

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

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

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

资源描述

FastAlgebraicMethodsforIntervalConstraintProblemsPeterB.LadkinUniversitatBielefeldTechnischeFakultatPostfach100131D-33501Bielefeld,Germany.ladkin@techfak.uni-bielefeld.deAlexanderReinefeldPaderbornCenterforParallelComputingFurstenallee7D-33095Paderborn,Germanyar@uni-paderborn.de21August1996AninvitedpapertoappearintheAnnalsofMathematicsandArticialIntelligenceAbstractWedescribeaneectivegenericmethodforsolvingconstraintproblems,basedonTarski’srelationalgebra,usingpath-consistencyasapruningtechnique.Weinvestigatetheperformanceofthismethodonintervalconstraintproblems.Timeperformanceisaectedstronglybythepath-consistencycalculations,whichinvolvethecalculationofcompositionsofrelations.Weinvestigatevariousmethodsoftuningcompositioncalculations,andalsopath-consistencycomputations.Spaceperformanceisaectedbythebranchingfactorduringsearch.Reducingthisbranchingfactordependsontheexistenceof‘nice’subclassesoftheconstraintdomain.Finally,wesurveythestatisticsofconsistencypropertiesofintervalconstraintproblems.Problemsofupto500variablesmaybesolvedinexpectedcubictime.Evidenceispresentedthatthe‘phasetransition’occursintherange6n:c15,wherenisthenumberofvariables,andcistheratioofnon-trivialconstraintstopossibleconstraints.1IntroductionConstraintsatisfactionproblems,orCSPs[Mac87]areaformoflogicprogramming(seeSection2),andareusuallysolvedbyvarioustunedsearchmethodsthroughtuplesofvalues(e.g.[Gus89]).Intervalconstraintsformaparticularclassofconstraintproblemsthatprimafaciemaynotbesolvedusingthesemethods,sincethedomainsoftherelationsareinnite.IntervalconstraintproblemsarefoundinplanningandschedulinginAI,andsolvingsuchproblemsisessentialforthemixedqualitative-quantitativeproblemsstudiedin[KL91].Allenoriginallyshowedhowtousesearch-pruningtechniquesbasedonpath-consistency,performedassymboliccomputationswiththeconstraintrelationsthemselvesratherthanontuplesofvalues[All83],andlaterresearchhasbuiltonthisinsight(e.g.[Lad90]containsasurveyofworkto1989,andsee[vB92]formorerecentwork).LadkinandMadduxshowedthattherelationalgebraofTarskiisanappropriatemath-ematicalcontextinwhichtorepresentandsolvebinaryconstraintproblems[LM88,LM94].AnalgebraofrelationsisasetofbinaryrelationsclosedundertheBooleanoperations(i.e.formingaBooleanalgebra),withtheadditionaloperationsofcompositionandconverse,andThispaperisanextendedversionof[LR93],includingresultstodate.1containinganidentityrelation(analgebraicidentityelementforthecompositionoperation).Alltheseoperationsareusedinconstraintsatisfactiontechniquesforbinaryconstraints.Sections2and3areanintroductiontothissymbolicapproachtoconstraintsatisfactionproblems.Everynitealgebraofrelationscontainsacollectionofminimalnon-emptyre-lations,calledatomsoratomicrelations,suchthateveryrelationinthealgebramaybeexpressedasasumofatoms.Wepresentageneralalgorithmarchitectureinwhichconstraintproblemsovervariousdomainsmaybesolvedsymbolically(Figure12).Ourdesignreliesonhighly-prunedsearch,andissuitableforNP-hardconstraintproblemsinwhichsearchisacomponentofasolutionalgorithm.Path-consistencypreprocessingisused,followedbyasearchwhichinvolvespath-consistencypruningateachchoicepoint.OurdesignmaybeusedwhenthereisaclassofconstraintrelationsCsuchthat(a)thecompositiontableformembersofCmaybestoredandaccessedeciently;(b)thereisanecient1methodforsolvingproblemswhoseconstraintsareallinC;(c)allconstraintrelationsintheproblemdomainmayberepresentedasunionsofmembersofC.Thelastcondition(c)entailsthattheatomicrelationsaremembersofC,andsoifconditions(a)and(b)holdfortheatomicrelations,theyformtheminimalclassCforwhich(a)-(c)hold.Ouralgorithmtakesasinputaconstraintprobleminthedomain,andreturnsamorerestrictedprobleminwhichallconstraintsarerelationsinCthatarepotentiallytighterthantheoriginals.OnemaythenapplytheC-constraint-solver(condition(b))tocompletethesolution.AlthoughC=atomicrelationswillworkifanyclassCdoes,itispreferabletochooseclassCaslargeaspossiblesatisfying(a)-(c),toreducethebranchingfactorinsearchandtoreducethetimetakenincalculationsofcompositions(seebelow).Intervalconstraintproblemstthisparadigm,asdovariousspatialreasoningmethods(seeRecentRelatedWorkbelow).SolvingintervalconstraintproblemsisNP-complete[VKvB89,Mad94],sosomesearchmustbeexpectedinasolutionalgorithm(unlessP=NP).Thereare13atoms(atomicrelations)intheIntervalAlgebra,givingacompositiontableof169entries(144entriesareactuallyusedsinceoneoftheatomsisanidentityforcomposition);andproblemswithatomicconstraintsmaybesolveddeterministicallyinquadratictime.ThereisalsoalargerclassCwith187members,namelythepointisablerelations,fulllingconditions(a){(c)(seeSection2foradenitionofpointisable).HencewecancompareperformanceofthealgorithmdesignwithC=atomswiththatofC=pointisables.Thepointisablerelationswereintroducedindependentlyin[LM88]andin[vBC89].Aquadratictimealgorithmforsolvingintervalproblemswitheitheratomicconstraintsorpointisableconstraintsmaybederivedfrom[vB90].NebelandBurckertdiscoveredthemaximalsubclassfulllingconditions(a){(c),calledtheORD-Hornrelations[NB95].Thereare868ORD-Ho

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

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

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

×
保存成功