[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Anybody has experience with Normal distriubution of javaswarm?
From: |
Hu, Jianjun |
Subject: |
Anybody has experience with Normal distriubution of javaswarm? |
Date: |
Tue, 16 Jul 2002 20:59:12 -0400 |
I am using the swarm-2.1.1 java version. but now I met the following
problem.
The normal distribution of the swarm doesn't work!.
Here is my simple code:
NormalDistImpl normDist = new NormalDistImpl();
normDist.setMean$setStdDev(meanGAParameterMutation,
stdGAParameterMutation);
if ((Globals.env.uniformDblRand.getDoubleWithMin$withMax (0.0, 1.0))
< pGAParameterMutation){
double offset = normDist.getDoubleSample(); //Gaussian
mutations
pGASitDefault+= offset;
if(pGASitDefault<0) pGASitDefault = 0.0;
else if(pGASitDefault>1) pGASitDefault = 1.0;
}
compilation is ok. but
The runtime error is:
unable to find Java selector `setMean:setStdDev:' in objc:`JavaProxy'
0xa6ae0d8 java: 0xa17cf90 hash: 18063
It seems that I can't call the setMean$setStdDev function.
What's wrong?
Your help is greatly appreciated.
Jianjun Hu
==================================
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 <=
- Re: Anybody has experience with Normal distriubution of javaswarm?, Alex Lancaster, 2002/07/16
- 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