; ; 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 ; ; @book{Mueller:2006, ; author = "Erik T. Mueller", ; year = "2006", ; title = "Commonsense Reasoning", ; address = "San Francisco", ; publisher = "Morgan Kaufmann/Elsevier", ; } ; load foundations/Root.e load foundations/EC.e sort agent fluent Awake(agent) event WakeUp(agent) [agent,time] Initiates(WakeUp(agent),Awake(agent),time). agent James !HoldsAt(Awake(James),0). Delta: Happens(WakeUp(James),0). completion Delta Happens range time 0 1 range offset 1 1