The Abstraction/Implementation Model of Problem Reformulation
نویسنده
چکیده
ion Space The definition of an implementation link is as a representation map from an abstract theory to a concrete theory, wi th an abstraction function for mapping concrete objects to abstract objects. The diagram below shows an implementation link between bags and lists, where the abstract theory of bags and the concrete theories of lists are axiomatized using equational logic. Abstraction Map from lists to bags:ion Map from lists to bags: Abs(Nil) = NullBag Abs(MakeList(x)) = MakeBag(x) Abs(Append(Ll,L2) = BagUnion{Abs(Ll), Abs(L2)) In general there are many implementation links between two theories, going in both directions. It is assumed that a knowledge base has some of these implementation links predefined. Subsequent sections show how to automatically use predefined implementation links for behavioral abstraction when they are available, and also to generate new implementation links when given a novel problem constraint. The next page has the equational theory for lists. The equational theory for bags is obtained by renaming append to bagunion and making it commutative. The equational theory for sets is obtained by renaming bagunion to set union and making it idempotent (a set unioned with itself yields the same set). A different equational theory for sets is obtained by renaming bagunion to symmetric-set-difference and making it self-conjugate (a set differenced with itself yields the null set). This demonstrate how adding an equality to a theory can generate an abstract theory. These theories wil l be used in the example. Equa t iona l T h e o r y o f L is ts I I I A Simple Example This example wi l l be used to illustrate the methods described in subsequent sections. 1101001 Start String 01100 Operator Goal String The arrow puzzle 2 is a state space search problem where the states are bit strings and the operators are bit strings which are applied by bit-wise XORing with a state to yield a new state. The input sort is a StartString GoalString pair, and the output sort is a list(sequence) of operators. The input /output relation SOLVE is defined as: SOLV E({StartString, GoalString}, OpList) = Apply(Reduce(XOR,OpList), StartString) = GoalString Reduce takes a binary operator and a list of arguments, iteratively applying the operator to the accumulated result and the next element of the list. Apply takes an operator and bitwise XORs it with a bitstring. Reduce and Apply are defined using conditional equations as follows: if list = null then Reduce(binop,hst) = identity if list / null then Reduce(bmopjist) = car(list)binopReduce(binop,cdr(hst)) Apply (operator, Bit String) — operator XORBitStrtng The properties of XOR, denoted <8>, assumed to be defined in the knowledge base, are used to reformulate the problem: Commutative Associative Identity SelfConjugate The commutativity and associativity of XOR means that a list of operators can be arbitrarily re-ordered, which is used to lift the output sort from list of operators to bags of operators. An alternative representation for a bag is an exponential notation, which maps each operator into its number of occurrences in the bag. The self-conjugate property of XOR means that applying an operator twice is equivalent to not applying it at all. In other words, only the even/odd parity of the number of operator occurrences is relevant. Thus the exponential notation is collapsed to the characteristic function for a set by mapping the natural numbers to mod2. Similarly, StartString GoalString pairs can be collapsed into a single bit-string by XORing them together. This single bit-string represents the class of StartString GoalString pairs that have the same solutions. The following transformations illustrate these abstractions:
منابع مشابه
Interchangeability Supports Abstraction and Reformulation for Multi-Dimensional Constraint Satisfaction
Interchangeability provides a principled approach to abstraction and reformulation of constraint satisfaction problems. Values are interchangeable if exchanging one for the other in any solution produces another solution. Abstracting a problem by simplifying the constraints can increase interchangeability. Multi-dimensional constraint satisfaction problems can provide natural opportunities for ...
متن کاملfor Multi - Dimensional Constraint Satisfaction
Interchangeability provides a principled approach to abstraction and reformulation of constraint satisfaction problems. Values are interchangeable if exchanging one for the other in any solution produces another solution. Abstracting a problem by simplifying the constraints can increase interchangeability. Multi-dimensional constraint satisfaction problems can provide natural opportunities for ...
متن کاملOn the stability of equilibrium for a reformulated foreign trade model of three countries
In this paper, we study the stability of equilibrium for a foreign trade model consisting of three countries. As the gravity equation has been proven an excellent tool of analysis and adequately stable over time and space all over the world, we further enhance the problem to three masses. We use the basic Structure of Heckscher–Ohlin–Samuelson model. The national income equals consumption outla...
متن کاملAbstraction, desalination and recharge method to control seawater intrusion into unconfined coastal aquifers
In this study, abstraction, desalination and recharge method and SEAWAT numerical model are used to investigate seawater intrusion repulsion in a hypothetical two-dimensional coastal aquifer to understand the relation of seawater intrusion with abstraction, desalination and recharge parameters (i.e. abstraction/recharge rate, wells distance and depth). Abstraction, desalination and recharge con...
متن کاملSOLVING MULTI CONSTRAINTS STRUCTURAL TOPOLOGY OPTIMIZATION PROBLEM WITH REFORMULATION OF LEVEL SET METHOD
Due to the favorable performance of structural topology optimization to create a proper understanding in the early stages of design, this issue is taken into consideration from the standpoint of research or industrial application in recent decades. Over the last three decades, several methods have been proposed for topology optimization. One of the methods that has been effectively used in stru...
متن کاملAbstraction: A Historical and Interdisciplinary Perspective
ion: A Historical and Interdisciplinary Perspective Lorenza Saitta Università del Piemonte Orientale, DISIT Viale Teresa Michel 11, 15121 Alessandria, Italy [email protected] Abstraction is a pervasive activity in human perception, conceptualization and reasoning, and, as such, it enters the vocabulary of almost all disciplines, as well as the everyday life. As a result, it does not exist, a...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1987