[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Anybody has experience with Normal distriubution of javaswarm?
From: |
Alex Lancaster |
Subject: |
Re: Anybody has experience with Normal distriubution of javaswarm? |
Date: |
16 Jul 2002 19:08:18 -0700 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>>>> "JH" == Hu, Jianjun <address@hidden> writes:
JH> I am using the swarm-2.1.1 java version. but now I met the
JH> following problem. The normal distribution of the swarm doesn't
JH> work!.
JH> Here is my simple code:
JH> NormalDistImpl normDist = new NormalDistImpl();
JH> normDist.setMean$setStdDev(meanGAParameterMutation,
JH> stdGAParameterMutation);
JH> if ((Globals.env.uniformDblRand.getDoubleWithMin$withMax
JH> (0.0, 1.0)) < pGAParameterMutation){ double offset =
JH> normDist.getDoubleSample(); //Gaussian mutations pGASitDefault+=
JH> offset; if(pGASitDefault<0) pGASitDefault = 0.0; else
JH> if(pGASitDefault>1) pGASitDefault = 1.0; }
JH> compilation is ok. but The runtime error is: unable to find Java
JH> selector `setMean:setStdDev:' in objc:`JavaProxy' 0xa6ae0d8 java:
JH> 0xa17cf90 hash: 18063
JH> It seems that I can't call the setMean$setStdDev function.
JH> What's wrong?
JH> Your help is greatly appreciated.
Jianjun,
You should first consult the FAQ on reporting bugs found here:
http://lark.cc.ukans.edu/~pauljohn/SwarmFaq/SwarmOnlineFaq.html#5.1
We need more information to help you, and the above link, outlines
what you information you need to supply.
Also you should consider upgrading to the development version at:
http://www.swarm.org/release-swarm-snapshot.html
It's the only version we fix bugs in.
Alex
--
Alex Lancaster |
Swarm Development Group | web: http://www.swarm.org
-------------------------------------------------------------------
==================================
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.
- Swarm and C++ model, Richard Leow, 2002/07/15
- Re: Swarm and C++ model, M Lang / S Railsback, 2002/07/15
- Re: Swarm and C++ model, Russell Standish, 2002/07/15
- Re: Swarm and C++ model, glen e. p. ropella, 2002/07/16
- Anybody has experience with Normal distriubution of javaswarm?, Hu, Jianjun, 2002/07/16
- Re: Anybody has experience with Normal distriubution of javaswarm?,
Alex Lancaster <=
- Re: Anybody has experience with Normal distriubution of javaswarm?, Paul Johnson, 2002/07/17
- RE: Anybody has experience with Normal distriubution of javaswarm? Thank Paul., Hu, Jianjun, 2002/07/17
- RE: Anybody has experience with Normal distriubution of javaswarm? Thank Paul., Hu, Jianjun, 2002/07/17