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.…
curves and then want to get a grid of frames on those lines.
When the lines are horizontal, everything works as expected (see first image). But when I make the contours vertical, there is a weird and seemingly random pattern of the frames (see second image). Also the number makes no sense at all: There are 40 curves and a count of 11, yet it only creates 117 frames.
Anybody have an Explanation and/or fix for this?
Alternatively is there a Transpose Matrix equivalent for Lists with Sublists, ie. I have a list of 10 lists with 100 items, and want to instead have 100 lists with 10 items. I need to reorder the frames, so that it doesn't go index 1, index 2, etc. in the horizontal direction but in the vertical.
Thank you!…
rns 10,000. That is 10 cubed.
As it stands Pow returns A to the power of B+1 for any B value 0 and greater. For B values of -1 or less it gives A to the power of 1.
Thanks,
Steven…
Added by Steven Hall at 5:56pm on September 7, 2010
1
with three sliders 8:
000, 001, 010, 011, 100, 101, 110, 111
with 120 slider -> 2^120 = 1.329 * 10^36
http://www.wolframalpha.com/input/?i=+2%5E120
2.
How do you combine the fitness function? Galapagos only takes 1 number as a fitness so this might be a problem as well, simple mass addition might not do the trick.
…
xtra transformations (if you have 100 objects, and transform once, that will be 100 transformations, but if you apply transform 5 times, then it will be 500 transformations.…
square units. Then you have an integral number of fragments on each side. This means that if all fragments need to have the same surface area, you can only have the following possibilities for side A:
1 fragment = 100 square units
2 fragments = 50 square units each
3 fragments = 33⅓ square units each
4 fragments = 25 square units each
5 fragments = 20 " "
6 fragments = 16⅔ " "
etc.
For side B, the numbers are mostly different
1 fragment = 300 unit²
2 fragments = 150 unit²
3 fragments = 100 unit²
4 fragments = 75 unit²
For side C they are different still. Unless you join fragments across on both sides of the edges of the box, I very much doubt you'll be able to pull this off.
The solution I attached will create fragments as identical as possible, but it's a very boring outcome...
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
the Options. For example, if we look at the default settings in this order:
Population: Number of iterations / generation 50 - Galapagos tries 50 slider positions each generation. When it finishes 50, it looks at the results and takes from the best results based on your fitness.
Initial Boost: Factor for the first generation 2. You want to ensure Galapagos sees as much of the solution space as possible in order to not miss any potential solutions. The first generation is multiplied by this factor. If Population is 50, the first generation will be 50x2 = 100 slider positions.
Maintain and Inbreeding deal with what you keep between Generations.
Max Stagnant: Number of generations to try AFTER finding a better solution 50. If Galapagos finds a great solution in Generation 2 (Gen 0 = 100 tries, Gen 1 = 50 tries, Gen 2 = 50 tries) it will go another 50 Generations (50x50 tries) before it stops to ensure it did not miss anything.
Your solution space consists of 11 options, which is much less than any of the other parameters are suggesting. Galapagos flails wildly in your case because you told it to. You told it to try 50x50(+50 for initial boost) number of times to find the best value.
Hence why I do not think this is the best option. You said it, this is not an optimization problem. If it is not an optimization problem, why use a genetic algorithm solver which is predominantly used for optimizing parameters?
I wouldn't necessarily want to see the definition, I'm more curious about the data. For example, can you send the data for 10 structural members and some load cases? (again, I could be entirely oversimplifying it).
In any case, I changed Max. Stagnant to 5, Population to 11. So Galapagos will stop (5x11)+11 tries AFTER the best solution is found. It found the solution pretty quickly.…
Added by Luis Fraguada at 6:07am on September 7, 2016
ow open you hand and splay you digits apart. You now have 5 branches with N=1.
Tree explode will then separate all of the branches of a tree out. 1 output = 1 branch. But you still have to manually add outputs to the component. i.e. if you have 5 branches then you need 5 outputs, 100 branches = 100 outputs manually added by the user.
Flattening is much more brutal. It will chop off all your digits, toes and fingers it doesn't distinguish between them, then puts them all in a jiffy bag and posts them to the next component. …
repeated on any of the 3 lists.
What I have managed so far is attached, it is finding the closest points, but it is not creating the lists and it eventually repeats points.
I you can help me with this file, or suggest a better way to do it, I´ll appreciate it a lot.
Thanks…