001 package aima.basic.vaccum; 002 003 import aima.basic.BasicEnvironmentView; 004 005 /** 006 * @author Ravi Mohan 007 * 008 */ 009 public class TrivialVaccumDemo { 010 public static void main(String[] args) { 011 TrivialVaccumEnvironment tve = new TrivialVaccumEnvironment("Dirty", 012 "Dirty"); 013 ModelBasedTVEVaccumAgent a = new ModelBasedTVEVaccumAgent(); 014 tve.addAgent(a, "A"); 015 BasicEnvironmentView view = new BasicEnvironmentView(); 016 tve.registerView(view); 017 tve.step(5); 018 } 019 }