Hello, and welcome to DDJ.com
CMP Media Launches New Dr. Dobb's Journal

SD West 2006 announces this year's list of Jolt Product Excellence Award winners and Productivity Award winners.

LOG INRegisterForgot password?
What are the green links?
All Access members only
RSS Feed
DDJ > Subscribe to DDJ Newsletters > AI Expert
AI Expert
sign up for this newsletter

2006 January
2005 DecemberNovemberOctoberSeptemberAugustJulyJuneMayAprilMarchFebruaryJanuary
2004 DecemberNovemberOctoberSeptemberAugustJulyJuneMayAprilMarchFebruaryJanuary
2003 DecemberNovemberOctoberSeptember   AugustJulyJuneMay   AprilMarchFebruaryJanuary
2002 DecemberNovember

Issue #8
June 2003

By Dennis Merritt

AI - The art and science of making computers do interesting things that are not in their nature.


As always, feedback is welcome. dennis@ddj.com

Feedback

One reader asked if Prolog was psychic and could tell that Price and PriceCents were the same in this example. Unfortunately psychic versions are only available at advanced wizardry research institutions. Normal programmers have to spell all their variables the same.


price(StartHour, DurationMinutes, PriceCents) :-

   StartHour < 7,

   StartHour > 16,

   Price is Duration * 10.

Sigh. I shouldn't edit the code for clarity when it's in the newsletter. I think I introduced a bug into the previous month's Bayesian example the same way. From now on all code will be cut and pasted directly from working programs and NOT edited again. I promise.

Also there was interest in the Rubik's cube program. http://www.amzi.com/articles/rubik.htm is a link to a reprint of a PCAI article describing it.<>


On the Newsstand


Table of Contents
Order this issue now.
Subscribe to DDJ

Departments

64bit
AI
Architecture & Design
C++
Database
Eclipse & Open Source
Embedded Systems
Global Developer
Java
Lightweight Languages
Linux/UNIX
Mobility
Security
SOA, Web Services & XML
Testing & Debugging
Windows/.NET

CMP DevNet Spotlight

Career Center: Going It Alone
Ever dreamed of leaving that corporate development job for the challenges of independent software consulting? Here are 10 tips to make your solo career path a success.

In the News

DDJ Newsletters

AI Expert Newsletter
AI Expert Newsletter is all about artificial intelligence in practice. Features include case studies, technology tutorials, product reviews and AI news—plus classic articles from the original AI Expert magazine! Keep up with the latest in logic programming, expert systems, neural networks, genetic algorithms, and fuzzy logic.
--more--

DDJ Resources

Mobilized Software
Developer Events

DevNet Podcasts

Antarctica: Eclipse Comes In From the Cold
Josh Reed discusses the Antarctic Geologic Drilling Program, and the important role that open source tools played.

Software Glitch Implicated in Mars Global Surveyor Failure
NASA Watch reports that NASA's Mars Global Surveyor stopped responding to commands a few months ago due to improperly coded software.

Info-Link

DDJ Store


Dr. Dobb's Developer Library DVD: Release 2
The Dr. Dobb's Developer Library DVD is a new fully searchable DVD that includes 17 years of Dr. Dobb's Journal, 14 full years of C/C++ Users Journal, 3 years of The Perl Journal, nearly 4 years of Dr. Dobb's Sourcebook, and thousands and thousands of lines of source code—all on one DVD!

Click here for more information.

 




MarketPlace

Instant Answers to Your IT & Business Questions
Sign Up & Get Full Access To The Definitive Online Book Collection With SkillSoft's Books24x7�.

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.

BugSplat - Automatic Crash Analysis
Fast online exception analysis. Capture customer crash data online.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Wanna see your ad here?