Intelligent Systems and HCI
Lecture 2: More Prolog
Using multiple clauses
The recent version of SWI- Prolog
displays true and false rather than
yes and no
Different clauses can be used to deal with differe
the shaking will subside. For another few minutes, the region, upended, will continue to fall
apart on its own. Then the wave will arrive, and the real destruction will begin.
Among natural disasters, tsunamis may be the closest to being completely unsurv
In May of 1804, Meriwether Lewis and William Clark, together with their Corps of
Discovery, set off from St. Louis on Americas first official cross-country expedition.
Eighteen months later, they reached the Pacific Ocean and made camp near the present-da
_g.- I _. 1%- .-
hen things go wrong in
industry, more often
than not people turn to
engineers for the
answers. Whether it is a plane or
train crash, a leak at a nuclear
power station, or an explosion at a
renery, we want to know why.
Engineers dont hav
The ultimate goal
Investing in safety
Professor Patrick Hudson
afety management systems can make a big
difference to any business. The benefits of
taking a systematic approach to safety are
one to three years without drinking water and sewage systems, and three or more years
without hospitals. Those estimates do not apply to the tsunami-inundation zone, which will
remain all but uninhabitable for years.
How much all this will cost is anyones
tectonic plate is sliding underneath (subducting) another. Tectonic plates are those slabs of
mantle and crust that, in their epochs-long drift, rearrange the earths continents and oceans.
Most of the time, their movement is slow, harmless, and all but un
written history of the Pacific Northwestand so, by rights, the detective story should have
But it did not. If you travel five thousand miles due west from the ghost forest, you reach the
northeast coast of Japan. As the events of 2011 made cl
Within a few decades, however, the maturing field of geology had distanced itself from
Biblical accounts of Earths evolution, and the incongruous rocks were reinterpreted as
glacial hitchhikers, remnants of the Ice Age. Gradualistic explanations for geolo
however, to dispute the scale of the problem. The devastation in Japan in 2011 was the result
of a discrepancy between what the best science predicted and what the region was prepared to
withstand. The same will hold true in the Pacific Northwestbut here
quake is in the high sevens, a two-minute quake has entered the eights, and a three-minute
quake is in the high eights. By four minutes, an earthquake has hit magnitude 9.0.
When Goldfinger looked at his watch, it was quarter to three. The conference was