SheepLog: Creating a Prolog framework to herd sheep

Keywords
Loading...
Thumbnail Image
Issue Date
2014-05-30
Language
en
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
A predicate based modular Prolog framework for shepherding, called SheepLog, is implemented in this thesis. Input for the framework consists of the current locations of the sheep, the herding dog and the goal. It uses this information to control the behavior of a herding dog. Several existing behaviors have been implemented in SheepLog. The framework works as an extension to an existing Java-based herding simulator which contains a visual representation of the sheep and herding dog, a parameter window, the behavior for the sheep and several herding behaviors. Two types of experiments have been conducted, some dealing with performance (real world time and iterations) and others with ease of (re)use. In terms of iterations the SheepLog implementations perform about the same as the Java implementations depending on the behavior. In terms of real world time the SheepLog implementations are about a factor 30 slower than the Java implementations. The ease of use test shows that it is possible to reuse existing predicates and add new ones to create novel behaviors. Overall this thesis contributes a novel, high-level shepherding language which can be employed for the implementation of generic shepherding behaviors.
Description
Citation
Supervisor
Faculty
Faculteit der Sociale Wetenschappen