共查询到20条相似文献,搜索用时 0 毫秒
1.
Since feature models for realistic product families may be quite complicated, the automated analysis of feature models is desirable. Although several approaches reported in the literature address this issue, complex cross-tree relationships involving attributes in extended feature models have not been handled. In this article, we introduce a mapping from extended feature models to constraint logic programming over finite domains. This mapping is used to translate into constraint logic programs; basic, cardinality-based and extended feature models, which can include complex cross-tree relationships involving attributes. This translation enables the use of off-the-shelf constraint solvers for the automated analysis of extended feature models involving such complex relationships. We also present the performance results of some well-known analysis operations on an example translated model. 相似文献
2.
LOTOS形式规范的目标实现是协议设计中必不可少的阶段之一。该文对基于LOTOS的形式描述规范的实现方法进行了研究,包括目标实现环境的特点、实现中的空白因素、抽象模型到实现模型的转换、规范的最终目标实现,并对如何将LOTOS规范转换为C、C 语言实现进行了探讨。 相似文献
3.
Enhanced Timed-LOTOS, denoted ET-LOTOS, is an extension of LOTOS that allows the modelling of real-time behaviours. It covers
all the aspects of full LOTOS, including data types, it supports both a dense and a discrete time domain and can manipulate
time values as any other data values. A tutorial on ET-LOTOS, showing many application examples, has already been published
[LéL97]. The present paper adds to it by providing an in-depth presentation of its theoretical aspects. The complete semantics
is given and explained, and its properties are studied. In particular, we prove that the semantics is consistent and that
strong bisimulation is a congruence. This requires to deal carefully with the presence of negative premises in the operational
semantics, which are necessary to express urgency. ET-LOTOS is also shown to be a conservative extension of LOTOS for guarded
processes, and is the basis of the timed extension of LOTOS currently developed by ISO [ISO98]. To our knowledge, this is
the first in-depth study of a language that combines data types and real-time behaviours.
Received May 1997 / Accepted in revised form October 1998 相似文献
4.
Order-sorted logic programming with predicate hierarchy 总被引:1,自引:0,他引:1
Ken Kaneiwa 《Artificial Intelligence》2004,158(2):155-188
Order-sorted logic has been formalized as first-order logic with sorted terms where sorts are ordered to build a hierarchy (called a sort-hierarchy). These sorted logics lead to useful expressions and inference methods for structural knowledge that ordinary first-order logic lacks. Nitta et al. pointed out that for legal reasoning a sort-hierarchy (or a sorted term) is not sufficient to describe structural knowledge for event assertions, which express facts caused at some particular time and place. The event assertions are represented by predicates with n arguments (i.e., n-ary predicates), and then a particular kind of hierarchy (called a predicate hierarchy) is built by a relationship among the predicates. To deal with such a predicate hierarchy, which is more intricate than a sort-hierarchy, Nitta et al. implemented a typed (sorted) logic programming language extended to include a hierarchy of verbal concepts (corresponding to predicates). However, the inference system lacks a theoretical foundation because its hierarchical expressions exceed the formalization of order-sorted logic. In this paper, we formalize a logic programming language with not only a sort-hierarchy but also a predicate hierarchy. This language can derive general and concrete expressions in the two kinds of hierarchies. For the hierarchical reasoning of predicates, we propose a manipulation of arguments in which surplus and missing arguments in derived predicates are eliminated and supplemented. As discussed by Allen, McDermott and Shoham in research on temporal logic and as applied by Nitta et al. to legal reasoning, if each predicate is interpreted as an event or action (not as a static property), then missing arguments should be supplemented by existential terms in the argument manipulation. Based on this, we develop a Horn clause resolution system extended to add inference rules of predicate hierarchies. With a semantic model restricted by interpreting a predicate hierarchy, the soundness and completeness of the Horn-clause resolution is proven. 相似文献
5.
Veena S. Mellarkod Michael Gelfond Yuanlin Zhang 《Annals of Mathematics and Artificial Intelligence》2008,53(1-4):251-287
We introduce a knowledge representation language ${\cal AC(C)}$ extending the syntax and semantics of ASP and CR-Prolog, give some examples of its use, and present an algorithm, $\mathcal{AC}\!solver$ , for computing answer sets of ${\cal AC(C)}$ programs. The algorithm does not require full grounding of a program and combines “classical” ASP solving methods with constraint logic programming techniques and CR-Prolog based abduction. The ${\cal AC(C)}$ based approach often allows to solve problems which are impossible to solve by more traditional ASP solving techniques. We believe that further investigation of the language and development of more efficient and reliable solvers for its programs can help to substantially expand the domain of applicability of the answer set programming paradigm. 相似文献
6.
The aim of this paper is to extend theConstructive Negation technique to the case ofCLP(SεT), a Constraint Logic Programming (CLP) language based on hereditarily (and hybrid) finite sets. The challenging aspects of the problem originate from the fact
that the structure on whichCLP(SεT) is based is notadmissible closed, and this does not allow to reuse the results presented in the literature concerning the relationships betweenCLP and constructive negation.
We propose a new constraint satisfaction algorithm, capable of correctly handling constructive negation for large classes
ofCLP(SεT) programs; we also provide a syntactic characterization of such classes of programs. The resulting algorithm provides a novel
constraint simplification procedure to handle constructive negation, suitable to theories where unification admits multiple
most general unifiers. We also show, using a general result, that it is impossible to construct an interpreter forCLP(SεT) with constructive negation which is guaranteed to work for any arbitrary program; we identify classes of programs for which
the implementation of the constructive negation technique is feasible.
Agostino Dovier, Ph.D.: He is a researcher in the Department of Science and Technology at the University of Verona, Italy. He obtained his master
degree in Computer Science from the University of Udine, Italy, in 1991 and his Ph.D. in Computer Science from the University
of Pisa, Italy, in 1996. His research interests are in Programming Languages and Constraints over complex domains, such as
Sets and Multisets. He has published over 20 research papers in International Journals and Conferences. He is teaching a course
entitled “Special Languages and Techniques for Programming” at the University of Verona.
Enrico Pontelli, Ph.D.: He is an Assistant Professor in the Department of Computer Science at the New Mexico State University. He obtained his Laurea
degree from the University of Udine (Italy) in 1991, his Master degree from the University of Houston in 1992, and his Ph.D.
degree from New Mexico State University in 1997. His research interests are in Programming Languages, Parallel Processing,
and Constraint Programming. He has published over 50 papers and served on the program committees of different conferences.
He is presently the Associate Director of the Laboratory for Logic, Databases, and Advanced Programming.
Gianfranco Rossi, Ph.D.: He received his degree in Computer Science from the University of Pisa in 1979. From 1981 to 1983 he was employed at Intecs
Co. System House in Pisa. From November 1983 to February 1989 he was a researcher at the Dipartimento di Informatica of the
University of Turin. Since March 1989 he is an Associate Professor of Computer Science, currently with the University of Parma.
He is the author of several papers dealing mainly with programming languages, in particular logic programming languages and
Prolog, and extended unification algorithms. His current research interests are (logic) programming languages with sets and
set unification algorithms. 相似文献
7.
M. I. Sessa 《Soft Computing - A Fusion of Foundations, Methodologies and Applications》2001,5(2):160-170
In order to provide approximate reasoning capabilities, in Gerla G, Sessa MI (1999) Chen G, Ying M, Cai K-Y (Eds) Fuzzy Logic and Soft computing, 19–31, Kluwer Academic Publishers, Boston an extension of Logic Programming has been proposed. Logic programs on function-free languages are considered, and approximate and imprecise information are represented by introducing a similarity relation ? in the set of predicate names and object names of the language. The inference system exploits the classical resolution rule of the Logic Programming paradigm. Moreover, the notion of fuzzy least Herbrand model is also provided. In this paper, by introducing the general notion of structural translation of languages, we generalize these results to the case of logic programs with function symbols. Some properties of the similarity relations are also proven. 相似文献
8.
Regulations are pervasive in information systems. They manifest themselves as design rules, integrity constraints, deadlines, conventions, information disclosure requirements, policies, procedures, contracts, taxes, quotas and other statutes. Managing regulations is difficult. Regulations are complex, change frequently and rest on models of the real world that involve unusual vocabulary if not unusual concepts. Consequently, checking compliance with regulations is tedious and error-prone. Logic programming appears to provide a good framework for developing regulation management systems. Besides permitting arbitrary regulations to be modelled, it offers rapidity and ease of development, readability, incremental modifiability, extensibility and portability. These features are not provided by existing DP programming tools, database managers or conventional expert-system shells. This paper investigates the application of logic programming in a significant regulation management application: Workers' Compensation Insurance premium auditing. The insurance premium computation rules for the State of California were encoded as a large Prolog program. This application illustrates specific strengths and weaknesses of logic programming and Prolog in dealing with large-scale real-world regulations. 相似文献
9.
10.
11.
Three-dimensional models, or pharmacophores, describing Euclidean constraints on the location on small molecules of functional
groups (like hydrophobic groups, hydrogen acceptors and donors, etc.), are often used in drug design to describe the medicinal
activity of potential drugs (or ‘ligands’). This medicinal activity is produced by interaction of the functional groups on
the ligand with a binding site on a target protein. In identifying structure-activity relations of this kind there are three
principal issues: (1) It is often difficult to “align” the ligands in order to identify common structural properties that
may be responsible for activity; (2) Ligands in solution can adopt different shapes (or `conformations’) arising from torsional
rotations about bonds. The 3-D molecular substructure is typically sought on one or more low-energy conformers; and (3) Pharmacophore
models must, ideally, predict medicinal activity on some quantitative scale. It has been shown that the logical representation
adopted by Inductive Logic Programming (ILP) naturally resolves many of the difficulties associated with the alignment and
multi-conformation issues. However, the predictions of models constructed by ILP have hitherto only been nominal, predicting
medicinal activity to be present or absent. In this paper, we investigate the construction of two kinds of quantitative pharmacophoric
models with ILP: (a) Models that predict the probability that a ligand is “active”; and (b) Models that predict the actual
medicinal activity of a ligand. Quantitative predictions are obtained by the utilising the following statistical procedures
as background knowledge: logistic regression and naive Bayes, for probability prediction; linear and kernel regression, for
activity prediction. The multi-conformation issue and, more generally, the relational representation used by ILP results in
some special difficulties in the use of any statistical procedure. We present the principal issues and some solutions. Specifically,
using data on the inhibition of the protease Thermolysin, we demonstrate that it is possible for an ILP program to construct
good quantitative structure-activity models. We also comment on the relationship of this work to other recent developments
in statistical relational learning.
Editors: Tamás Horváth and Akihiro Yamamoto 相似文献
12.
The intent of this article is twofold: To survey prominent proposals for the integration of logic and functional programming and to present a new paradigm for the same purpose. We categorize current research into four types of approaches, depending on the level at which the proposed integration is achieved. Unlike most current work, our approach is not based on extending unification to general-purpose equation solving. Rather, we propose a computation delaying mechanism calledresiduation. This allows a clear distinction between functionalevaluation and logicaldeduction. The former is based on the-calculus, and the latter on Horn clause resolution. Residuation is built into the unification operation which may then account for-reduction. In clear contrast with equation-solving approaches, our model supports higher-order function evaluation and efficient compilation of both functional and logic programming expressions, without being plagued by non-deterministic term-rewriting. In addition, residuation lends itself naturally to process synchronization and constrained search. We describe an operational semantics and an implementation of a prototype language called LeFun—Logic, equations, and Functions.This article is a revised and extended version of [1]. 相似文献
13.
14.
Timothy R. Colburn 《Minds and Machines》1991,1(4):417-436
The general conditions of epistemic defeat are naturally represented through the interplay of two distinct kinds of entailment, deductive and defeasible. Many of the current approaches to modeling defeasible reasoning seek to define defeasible entailment via model-theoretic notions like truth and satisfiability, which, I argue, fails to capture this fundamental distinction between truthpreserving and justification-preserving entailments. I present an alternative account of defeasible entailment and show how logic programming offers a paradigm in which the distinction can be captured, allowing for the modeling of a larger range of types of defeat. This is possible through a natural extension of the declarative and procedural semantics of Horn clauses. 相似文献
15.
Robert Kowalski Fariba Sadri 《Annals of Mathematics and Artificial Intelligence》2011,62(1-2):129-158
In this paper we present an agent language that combines agent functionality with a state transition theory and model-theoretic semantics. The language is based on abductive logic programming (ALP), but employs a simplified state-free syntax, with an operational semantics that uses destructive updates to manipulate a database, which represents the current state of the environment. The language builds upon the ALP combination of logic programs, to represent an agent??s beliefs, and integrity constraints, to represent the agent??s goals. Logic programs are used to define macro-actions, intensional predicates, and plans to reduce goals to sub-goals including actions. Integrity constraints are used to represent reactive rules, which are triggered by the current state of the database and recent agent actions and external events. The execution of actions and the assimilation of observations generate a sequence of database states. In the case of the successful solution of all goals, this sequence, taken as a whole, determines a model that makes the agent??s goals and beliefs all true. 相似文献
16.
Aquarius Prolog, a high performance compiler designed and built to test the hypothesis that Prolog can be implemented as efficiently as an imperative language by compiling the more powerful features of logic programming only where they are needed, and then only in the simplest form, is described. The authors begin with some background on logic programming and then discuss the Prolog language in more detail. They present an overview of their compiler, giving its structure and the principles underlying its high performance. They compare their system with two popular high-performance commercial systems and with two implementations of C and conclude with an overview of ways to extend this work 相似文献
17.
Patrick Saint-Dizier 《Computational Intelligence》1990,6(2):71-80
In this paper, we present an extension to PROLOG we call DISLOG which is designed to deal with relations between non-contiguous elements in a structure. This extension turns out to be well suited for syntactic analysis of natural and artificial languages. It is also well adapted to express traversal constraints in applications such as planning and expert systems and deductive systems involving, for example, temporal reasoning, DISLOG belongs to the constrained logic programming paradigm and turns out to be more declarative, transparent, and simple than PROLOG to deal with longdistance relations. 相似文献
18.
Rui WangAuthor Vitae Xiaoyu SongAuthor VitaeJianzhong ZhuAuthor Vitae Ming GuAuthor Vitae 《Computers in Industry》2011,62(1):23-31
Programmable logic controllers (PLCs) are complex cyber-physical systems which are widely used in industry. This paper presents a robust approach to design and implement PLC-based embedded systems. Timed automata are used to model the controller and its environment. We validate the design model with resort to model checking techniques. We propose an algorithm to generate PLC code from timed automata and implement this algorithm with a prototype tool. This method can condense the developing process and guarantee the correctness of PLC programs. A case study demonstrates the effectiveness of the method. 相似文献
19.
Jack Minker 《Annals of Mathematics and Artificial Intelligence》1994,12(1-2):1-24
The field of disjunctive programming started approximately in 1982 and has reached its first decade. The first result in the field was the development of the Generalized Closed World Assumption (GCWA). Major results have been made in this field since 1986. An overview is presented of the developments that have taken place, which include model theoretic, proof theoretic and fixpoint semantics for disjunctive, and extended normal disjunctive theories including alternative forms of negation.Dedicated to Chitta Baral, José Alberto Fernández, Jorge Lobo and Arcot Rajasekar. 相似文献
20.
Jean-Louis Krivine 《Annals of Mathematics and Artificial Intelligence》1996,16(1):405-414
We consider a -calculus system in second-orderclassical logic, in which execution of -terms is weak head reduction (call-by-name). By means of some simple examples, we show how it can modelize some aspects of imperative programming languages, such as assignment and escape instructions. A crucial tool is the notion ofstorage operator, for which a simple type is given. 相似文献