; ; Copyright (c) 2005 IBM Corporation and others. ; All rights reserved. This program and the accompanying materials ; are made available under the terms of the Common Public License v1.0 ; which accompanies this distribution, and is available at ; http://www.eclipse.org/legal/cpl-v10.html ; ; Contributors: ; IBM - Initial implementation ; ; @inproceedings{Mueller:2004b, ; author = "Erik T. Mueller", ; year = "2004", ; title = "A tool for satisfiability-based commonsense reasoning in the event calculus", ; editor = "Valerie Barr and Zdravko Markov", ; booktitle = "\uppercase{P}roceedings of the \uppercase{S}eventeenth \uppercase{I}nternational \uppercase{F}lorida \uppercase{A}rtificial \uppercase{I}ntelligence \uppercase{R}esearch \uppercase{S}ociety \uppercase{C}onference", ; pages = "147--152", ; address = "Menlo Park, CA", ; publisher = "AAAI Press", ; } ; load foundations/Root.e load foundations/EC.e sort agent fluent Tired(agent) event Move(agent) event Run(agent) event Drive(agent) [agent,time] Happens(Move(agent),time) -> Happens(Run(agent),time) | Happens(Drive(agent),time). xor Run, Drive [agent,time] Initiates(Run(agent),Tired(agent),time). agent James !HoldsAt(Tired(James),0). Happens(Move(James),0). HoldsAt(Tired(James),1). range time 0 1 range offset 1 1 ; End of file.