/* * (c) 1998-2000 The Brookings Institution, All Rights Reserved * * Permission to use this software and its documentation for non-commercial * purposes and without fee is hereby granted, provided this copyright statement * is included. Please contact us for permission for redistribution and other uses. *  * BROOKINGS MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,  * OR NON-INFRINGEMENT. BROOKINGS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY * LICENSEE AS A RESULT OF USING THIS SOFTWARE OR ITS DERIVATIVES. * * Miles Parker * mparker@brook.edu * http://www.brook.edu/es/dynamics/models/ascape * The Brookings Institution * Washington, D.C. */package edu.brook.sugarscape;import java.awt.Color;import java.awt.Graphics;import java.io.*;import java.util.*;import edu.brook.ascape.model.*;import edu.brook.ascape.view.*;import edu.brook.ascape.util.*;import edu.brook.ascape.rule.*;public class MultipleGAS_II_2 extends GAS_II_2 {        public void createViews() {        DataOutputView dataView = new DataOutputView();        sugarscape.addView(dataView);	try {    	    setStopPeriod(100);    	}    	catch (SpatialTemporalException e) {throw new RuntimeException("Internal Logic Error");}        ////dataView.getSweep().setRunsPer(2);        setViewSelf(true);    }}
