Back to search

The Ohio State University

Optimizing Threads of Computation in Constraint Logic Programs

Abstract

dc:description

<p>This research concentrates on the optimization of Constraint Logic Programming, or CLP, languages, and in particular, a significant class of optimizations that focus on program loops.</p> <p>Declarative systems represent loop state by chains of variables, whether in call stack frames, or the rows of a system of equations, and the time costs are significant compared to imperative languages that can reuse variables during iteration. In particular, some procedures add numerical constraints to the solver in a predictable pattern, using far less than the full power of the constraint solver. We wish to optimize these chains of constraints, or <em>threads</em> .</p> <p>We use a matrix-vector pair, an <em>affine transform</em> , to represent the incremental computation that occurs at each iteration of a recursive predicate. By the associativity of transform multiplication, we may compose a chain of ground transforms prior to their application to program variables. The accumulated composition is then applied to relate the procedure parameters in a single step outside the loop, reducing the number of solver calls from O(n) to O(1).</p> <p>An implementation of the thread optimization for a CLP system requires compile-time analysis, source translation, and specialized code generation. We modify an existing CLP compiler, <em>CLPR</em> , to add the analysis, translation and code generation phases, and run timing tests to determine the actual speedup.</p> <p>This work defines and proves correct a broad class of CLP optimizations, the thread optimizations, which apply to a wide variety of recursive procedures in any practical CLP language; describes our implementation of the thread optimization of numeric constraints, for an instance of the CLP family, CLPR; and demonstrates that this implementation achieves a significant speedup for optimized programs.</p>

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
doctoral
Discipline thesis:degree_discipline
Computer and Information Science
Grantor dc:publisher
The Ohio State University
Year dc:date
2003

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Pippin, William E., Jr.
Advisor dc:contributor.advisor
  • Soundarajan, Neelam

Subjects

dc:subject × 8

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Pippin, William E., Jr.. Optimizing Threads of Computation in Constraint Logic Programs. doctoral thesis, The Ohio State University, 2003. http://rave.ohiolink.edu/etdc/view?acc_num=osu1041551800