|
From: | Li An |
Subject: | Re: Java mousetrap |
Date: | Sat, 07 Dec 2002 16:22:45 -0500 |
At 02:55 PM 12/7/2002 -0600, you wrote :
Again it is a mismatch between the Swarm you have installed and the application. That jmousetrap is for swarm 2.1.1. There is a new jmousetrap in the testing directory, try that, see what it gives.There may still be some trouble. I've heard from some java users that there is a wrinkle with distribution objects, but you should test and see.pj Li An wrote:Thanks, Paul. It worked.Then I tried to run java mousetrap (version 2.1). After issuing "make" at the prompt, I got the following:address@hidden jmousetrap-2.1]$ make/usr/bin/javacswarm Mousetrap.java MousetrapModelSwarm.java MousetrapObserverSwarm.java MousetrapStatistics.java MousetrapBatchSwarm.java StartMousetrap.javaFound 3 semantic errors compiling "Mousetrap.java": <--------------------------- 42. uniform0to1 = new UniformDoubleDistImpl 43. (modelSwarm.getZone (), randGenerator, 0.0, 1.0); ----------------------------------------------------->*** Error: No match was found for constructor "UniformDoubleDistImpl(swarm.defobj.Zone, java.lang.Object, double, double)".<------------------------------- 45. uniformRadius = new UniformIntegerDistImpl 46. (modelSwarm.getZone (), randGenerator, -maxD, maxD); -------------------------------------------------------->*** Error: No match was found for constructor "UniformIntegerDistImpl(swarm.defobj.Zone, java.lang.Object, int, int)".<---------------------------- 48. uniformTrigTime = new UniformUnsignedDistImpl . . . 50. modelSwarm.getMaxTriggerTime ()); -------------------------------------->*** Error: No match was found for constructor "UniformUnsignedDistImpl(swarm.defobj.Zone, java.lang.Object, int, int)".make: *** [all] Error 1 What is wrong? Thanks. Li Li An Ph.D. candidate, Systems Modeling Lab-- Paul E. Johnson email: address@hidden Dept. of Political Science http://lark.cc.ku.edu/~pauljohn University of Kansas Office: (785) 864-9086 Lawrence, Kansas 66045 FAX: (785) 864-5700 ================================== Swarm-Support is for discussion of the technical details of the day to day usage of Swarm. For list administration needs (esp. [un]subscribing), please send a message to <address@hidden> with "help" in the body of the message.
Li An Ph.D. candidate, Systems Modeling Lab Department of Fisheries and Wildlife Michigan State University East Lansing, MI 48824 Phone (work): 517-353-7981 Fax: 517-432-1699 ================================== Swarm-Support is for discussion of the technical details of the day to day usage of Swarm. For list administration needs (esp. [un]subscribing), please send a message to <address@hidden> with "help" in the body of the message.
[Prev in Thread] | Current Thread | [Next in Thread] |