Code Generation in Action

Code Generation in Action
Author: Jack Herrington
Publisher: Manning Publications
Total Pages: 360
Release: 2003
Genre: Computers
ISBN: 9781930110977

Covering technique and implementation for building code for complex applications frameworks, this book demonstrates how to build high-quality output that is consistent and maintainable. Lessons on abstracting the design of the code so that multiple outputs can be created from a single abstract model of the application functionality are provided. Techniques that range from using simple code processors to handle common coding problems to creating more elaborate and complex generators that maintain entire application tiers are covered. Topics such as building database access, user interface, remote procedure, test cases, and business logic code are also addressed, as is code for other system functions. Although code generation is an engineering technique, it also has an impact on engineering teams and management, an aspect of code generation that is covered in depth in this resource.

Knowledge in Action

Knowledge in Action
Author: Raymond Reiter
Publisher: MIT Press
Total Pages: 462
Release: 2001-07-27
Genre: Computers
ISBN: 9780262264310

Specifying and implementing dynamical systems with the situation calculus. Modeling and implementing dynamical systems is a central problem in artificial intelligence, robotics, software agents, simulation, decision and control theory, and many other disciplines. In recent years, a new approach to representing such systems, grounded in mathematical logic, has been developed within the AI knowledge-representation community. This book presents a comprehensive treatment of these ideas, basing its theoretical and implementation foundations on the situation calculus, a dialect of first-order logic. Within this framework, it develops many features of dynamical systems modeling, including time, processes, concurrency, exogenous events, reactivity, sensing and knowledge, probabilistic uncertainty, and decision theory. It also describes and implements a new family of high-level programming languages suitable for writing control programs for dynamical systems. Finally, it includes situation calculus specifications for a wide range of examples drawn from cognitive robotics, planning, simulation, databases, and decision theory, together with all the implementation code for these examples. This code is available on the book's Web site.

Logic Programs, Norms and Action

Logic Programs, Norms and Action
Author: Alexander Artikis
Publisher: Springer
Total Pages: 444
Release: 2012-04-25
Genre: Computers
ISBN: 3642294146

This book is dedicated to Marek Sergot, Professor in Computational Logic at Imperial College London, on the occasion of his 60th birthday. Professor Sergot’s scientific contributions range over many different fields. He has developed a series of novel ideas and formal methods bridging areas including artificial intelligence, computational logic, philosophical logic, legal theory, artificial intelligence and law, multi-agent systems and bioinformatics. By combining his background in logic and computing with his interest in the law, deontic logic, action, and related areas, and applying to all his capacity to understand the subtleties of social interaction and normative reasoning, Professor Sergot has opened up new directions of research, and has been a reference, an inspiration, and a model for many researchers in the fields to which he has contributed. The Festschrift includes several reminiscences and introductory essays describing Professor Sergot's achievements, followed by a series of articles on logic programming, temporal reasoning and action languages, artificial intelligence and law, deontic logic and norm-governed systems, and logical approaches to policies.

Introduction to Logic Programming

Introduction to Logic Programming
Author: Michael Michael Genesereth
Publisher: Springer Nature
Total Pages: 199
Release: 2022-06-01
Genre: Computers
ISBN: 303101586X

Logic Programming is a style of programming in which programs take the form of sets of sentences in the language of Symbolic Logic. Over the years, there has been growing interest in Logic Programming due to applications in deductive databases, automated worksheets, Enterprise Management (business rules), Computational Law, and General Game Playing. This book introduces Logic Programming theory, current technology, and popular applications. In this volume, we take an innovative, model-theoretic approach to logic programming. We begin with the fundamental notion of datasets, i.e., sets of ground atoms. Given this fundamental notion, we introduce views, i.e., virtual relations; and we define classical logic programs as sets of view definitions, written using traditional Prolog-like notation but with semantics given in terms of datasets rather than implementation. We then introduce actions, i.e., additions and deletions of ground atoms; and we define dynamic logic programs as sets of action definitions. In addition to the printed book, there is an online version of the text with an interpreter and a compiler for the language used in the text and an integrated development environment for use in developing and deploying practical logic programs.

Logic Programming with Prolog

Logic Programming with Prolog
Author: Max A. Bramer
Publisher: Springer Science & Business Media
Total Pages: 246
Release: 2005-07-13
Genre: Computers
ISBN: 9781852339388

Written for those who wish to learn Prolog as a powerful software development tool, but do not necessarily have any background in logic or AI. Includes a full glossary of the technical terms and self-assessment exercises.

The Logic of Congressional Action

The Logic of Congressional Action
Author: R. Douglas Arnold
Publisher: Yale University Press
Total Pages: 298
Release: 1990-01-01
Genre: Political Science
ISBN: 9780300056594

Congress regularly enacts laws that benefit particular groups or localities while imposing costs on everyone else. Sometimes, however, Congress breaks free of such parochial concerns and enacts bills that serve the general public, not just special interest groups. In this important and original book, R. Douglas Arnold offers a theory that explains not only why special interests frequently triumph but also why the general public sometimes wins. By showing how legislative leaders build coalitions for both types of programs, he illuminates recent legislative decisions in such areas as economic, tax, and energy policy. Arnold's theory of policy making rests on a reinterpretation of the relationship between legislators' actions and their constituents' policy preferences. Most scholars explore the impact that citizens' existing policy preferences have on legislators' decisions. They ignore citizens who have no opinions because they assume that uninformed citizens cannot possibly affect legislators' choices. Arnold examines the influence of citizens' potential preferences, however, and argues that legislators also respond to these preferences in order to avoid future electoral problems. He shows how legislators estimate the political consequences of their voting decisions, taking into account both the existing preferences of attentive citizens and the potential preferences of inattentive citizens. He then analyzes how coalition leaders manipulate the legislative situation in order to make it attractive for legislators to support a general interest bill.

Erlang and OTP in Action

Erlang and OTP in Action
Author: Eric Merritt
Publisher: Simon and Schuster
Total Pages: 650
Release: 2010-11-15
Genre: Computers
ISBN: 163835426X

Concurrent programming has become a required discipline for all programmers. Multi-core processors and the increasing demand for maximum performance and scalability in mission-critical applications have renewed interest in functional languages like Erlang that are designed to handle concurrent programming. Erlang, and the OTP platform, make it possible to deliver more robust applications that satisfy rigorous uptime and performance requirements. Erlang and OTP in Action teaches you to apply Erlang's message passing model for concurrent programming--a completely different way of tackling the problem of parallel programming from the more common multi-threaded approach. This book walks you through the practical considerations and steps of building systems in Erlang and integrating them with real-world C/C++, Java, and .NET applications. Unlike other books on the market, Erlang and OTP in Action offers a comprehensive view of how concurrency relates to SOA and web technologies. This hands-on guide is perfect for readers just learning Erlang or for those who want to apply their theoretical knowledge of this powerful language. You'll delve into the Erlang language and OTP runtime by building several progressively more interesting real-world distributed applications. Once you are competent in the fundamentals of Erlang, the book takes you on a deep dive into the process of designing complex software systems in Erlang. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

Answer Set Programming

Answer Set Programming
Author: Vladimir Lifschitz
Publisher: Springer Nature
Total Pages: 196
Release: 2019-08-29
Genre: Computers
ISBN: 3030246582

Answer set programming (ASP) is a programming methodology oriented towards combinatorial search problems. In such a problem, the goal is to find a solution among a large but finite number of possibilities. The idea of ASP came from research on artificial intelligence and computational logic. ASP is a form of declarative programming: an ASP program describes what is counted as a solution to the problem, but does not specify an algorithm for solving it. Search is performed by sophisticated software systems called answer set solvers. Combinatorial search problems often arise in science and technology, and ASP has found applications in diverse areas—in historical linguistic, in bioinformatics, in robotics, in space exploration, in oil and gas industry, and many others. The importance of this programming method was recognized by the Association for the Advancement of Artificial Intelligence in 2016, when AI Magazine published a special issue on answer set programming. The book introduces the reader to the theory and practice of ASP. It describes the input language of the answer set solver CLINGO, which was designed at the University of Potsdam in Germany and is used today by ASP programmers in many countries. It includes numerous examples of ASP programs and present the mathematical theory that ASP is based on. There are many exercises with complete solutions.

Logic Programming

Logic Programming
Author: David S. Warren
Publisher: MIT Press
Total Pages: 884
Release: 1993
Genre: Computers
ISBN: 9780262731058

The Tenth International Conference on Logic Programming, sponsored by the Association for Logic Programming, is a major forum for presentations of research, applications, and implementations in this important area of computer science. Logic programming is one of the most promising steps toward declarative programming and forms the theoretical basis of the programming language Prolog and it svarious extensions. Logic programming is also fundamental to work in artificial intelligence, where it has been used for nonmonotonic and commonsense reasoning, expert systems implementation, deductive databases, and applications such as computer-aided manufacturing.David S. Warren is Professor of Computer Science at the State University of New York, Stony Brook.Topics covered: Theory and Foundations. Programming Methodologies and Tools. Meta and Higher-order Programming. Parallelism. Concurrency. Deductive Databases. Implementations and Architectures. Applications. Artificial Intelligence. Constraints. Partial Deduction. Bottom-Up Evaluation. Compilation Techniques.

The Logic Programming Paradigm

The Logic Programming Paradigm
Author: Krzysztof R. Apt
Publisher: Springer Science & Business Media
Total Pages: 457
Release: 2012-12-06
Genre: Computers
ISBN: 3642600859

This exciting new text reveals both the evolution of this programming paradigm since its inception and the impressively broad scope of current research in the field. The contributors to this book are all leading world experts in Logic Programming, and they deal with both theoretical and practical issues. They address such diverse topics as: computational molecular biology, machine learning, mobile computing, multi-agent systems, planning, numerical computing and dynamical systems, database systems, an alternative to the "formulas as types" approach, program semantics and analysis, and natural language processing. XXXXXXX Neuer Text Logic Programming was founded 25 years ago. This exciting book reveals both the evolution of this programming paradigm and its impressively broad scope of current research. The contributions by leading computer scientists deal with both theoretical and practical issues. They address diverse topics such as: computational molecular biology, machine learning, mobile computing, multi-agent systems, numerical computing and dynamical systems, database systems, program semantics, natural language processing, and promising future directions.