list of points (only if you have too many points, so that you don't have a big delay)
2. Use a data recorder with a record limit (right click on the recorder to set this) at least twice the number of points and as large as possible to still run smoothly. (I am testing 50 points and have set the record limit to 1000 and it works ok)
3. Use [CullPt] set to "Cull All" (right click again).
4. And test when this list of points will be empty (list length equal to 0).
The accuracy of this depends on the number of points tested(larger=better), the record limit of Data recorder(larger=better) and the T input of CullPt(smaller=better).
If you want to be absolutely sure the simulation has finished completely, you could add another data recorder at the output of [Equality] and use [Mass Addition] to count the number of True's, so you could bake only after you have, let's say, 1000 true's.…
cotains 5 data. if the "y" is 3, the a is 34 branch ,the branch in 1 to 33,contains 3 data,and the 34th branch contains 1 data.. i dont know how to write the python code.…
than 2 milliseconds, but Galapagos managed to find a solution in about 10~12 generations (with 50 individuals per generation) that was quite close to the correct result. At 15 generations the exact answer was found.
I'm still amazed at how well the solver works given that it has no understanding whatsoever of the problem (it doesn't even know there is such a thing as spatial dimensions).…
Added by David Rutten at 11:26am on January 22, 2010
思った感じになりません。
balls の代わりにplanarカーブを直接入れてみましたがエラーが出ます。
ファンクションにしてみたところ、forループので作った数値が反映されていません。
ファンクションのインスタンス?を出力していないと思い上記のようにしましたがエラーが出てしまいます。
以上の事から自分の認識が正しいのかよくわからなくなりました・・・
python自体の深いところをわかっているわけではないので余計こんがらがりました。
そこで、for b in ballsはどのような条件または使い方であれば使えるのでしょうか?
そして、上記のように別のオブジェクトに対しての使い方はどのようにすればできるのでしょうか?
2:同じファンクション内のdist = rs.Distance(self.pos,b.pos)についてですが
この文章も for b in balls によってbはBallのインスタンスであると定義?されたためb.posがbの位置であると分かるのでしょうか?
pythonは定義しなくても動いてしまうのでどのような時に使えるのか文章見ただけではよくわかりません・・・
大変細かいことかもしれませんが、よりpythonをしっかりと理解するためにも、どなたかわかる方ご教授いただけると幸いです。…
generations of 50 individuals) of the same model that I got NaN's on before. As far as I can tell, it shouldn't be a division by zero problem, I'm solving the following formula: (a/10*b)-(c*d)-(e*f)-(g*h). I did save the text outcome of the run but I'm not sure which gene is what so I'm not sure how to recreate the exact situation... Is there something you want me to try?
BTW, what is a collision?
cheers,
wim
Genome[24], Fitness=-300.29, Genes [3% · 33% · 98% · 7%]
{
Record: Point Mutation at index 3: 0.0465 -> 0.0497
}
Genome[25], Fitness=NaN, Genes [3% · 33% · 98% · 9%]
{
Record: Genome was mutated to avoid collision…
each control point and using UVsurface, there is a circle... all diameters and all x,y,z cooridnates of the control points can be freely moved, but this would be a nightmare to control, so you must make relationships between all the data, for instance that the top radious is 50% of the bottom radious and so on... then all the circles of each branch are lofted and closed, the you can make a boolean union... hope i helped....
cheers,…
dred 500x500 images using blurring radii smoothly ranging from 2 to 200 pixels. Ie. about 650 milliseconds for a blurring radius of 200 pixels, and ~10 milliseconds for a radius of 2 pixels.
During the process, my CPU load varies between 80% and 90%, but that includes all the stuff the system is doing (always a few percent).
…
r a 50x50 mesh (I'll have to deal with 10 times bigger meshes).
That is why I asked if there was a more efficient script to do this.
In my case, I will repeatedly perform these sorts of comparisons on the same list of lines, so I am interested in testing the spatial tree solution. Is there any exemple/post I could start from ?…
se:
1. I wouldn't want to execute arbitrary C# code from a definition I can't check.
2. In analogue to the lock solution, a 'lock C#' button would be useful.
In terms of use cases:
- when doing education I typically open a lot of files that I've not created myself.
- what is preventing someone from posting malicious scripts in the forum?…