Click here to Skip to main content
11,412,516 members (70,497 online)

Algorithms

 
QuestionChecking the network Pin
en411 at 15-Sep-12 8:24
memberen41115-Sep-12 8:24 
AnswerlinkRe: Checking the network Pin
YvesDaoust at 21-Sep-12 1:11
memberYvesDaoust21-Sep-12 1:11 
Questionan optimal elevator-use algorithm Pin
BillWoodruff at 13-Sep-12 4:38
memberBillWoodruff13-Sep-12 4:38 
AnswerRe: an optimal elevator-use algorithm Pin
Alan Balkany at 13-Sep-12 5:41
memberAlan Balkany13-Sep-12 5:41 
GeneralRe: an optimal elevator-use algorithm Pin
BillWoodruff at 19-Sep-12 5:35
memberBillWoodruff19-Sep-12 5:35 
QuestionPlease, poke holes in my cryptographic function... [modified] Pin
SixOfTheClock at 13-Sep-12 1:52
memberSixOfTheClock13-Sep-12 1:52 
QuestionWhat kind of checksum can this be? [modified] Pin
GrooverFromHolland at 9-Sep-12 10:18
memberGrooverFromHolland9-Sep-12 10:18 
AnswerRe: What kind of checksum can this be? Pin
Alan N at 9-Sep-12 12:55
memberAlan N9-Sep-12 12:55 
GeneralRe: What kind of checksum can this be? Pin
GrooverFromHolland at 9-Sep-12 23:15
memberGrooverFromHolland9-Sep-12 23:15 
QuestionLinear Regression Most Efficient algorithm calc Line of Best Fit Pin
A***** at 4-Sep-12 20:24
memberA*****4-Sep-12 20:24 
AnswerRe: Linear Regression Most Efficient algorithm calc Line of Best Fit [modified] Pin
Peter_in_2780 at 4-Sep-12 21:17
memberPeter_in_27804-Sep-12 21:17 
QuestionRunning out of Memory - Maths Check Pin
Mike-MadBadger at 3-Sep-12 8:52
memberMike-MadBadger3-Sep-12 8:52 
AnswerRe: Running out of Memory - Maths Check [modified] Pin
Andrei Straut at 3-Sep-12 10:03
memberAndrei Straut3-Sep-12 10:03 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger at 3-Sep-12 11:11
memberMike-MadBadger3-Sep-12 11:11 
Pixel position, it's converted to a complex number which is then stuffed into the iterative equation and that results in a long (or short) list of complex numbers, Z0 to Zn, n could be anywhere from 0 to the limiting number - 10k in the example I gave, but could be much much lower (50) or much much higher.

The problem arises since the way I'm going through this 'rite of passage' (doing Mandelbrot images) is to try and create a pluggable set of classes that could be used to implement any fractal set (mandelbrot, julia, newton etc.) and use any of the many colourising methods (escape time, distance estimators etc.). Adding a new set (e.g. Burning Ship, Phoenix) or a new colourising method (e.g. escape angle) therefore simply entails creating a new class that does that specific job and implements the relevant interface.

The consequence of this is that the key class which manages and calls the FractalSet iterators and then calls the colouriser to get a colour for the complex number (pixel) under investigation has no way of knowing what data that colouriser needs, the classic escape time needs only the actual number of iterations, the distance estimators need things like the last 2 (or more) results of the iteration.

So the above question came from my first idea which was to store them all whilst the entire image was iterated pixel by pixel - bad idea!

I think my way of doing this will be to change the colouriser interface and have a method that takes the complete result set of results for a single iteration, processes it as appropriate (turning potentially thousands of complex numbers into something much smaller) and builds the data set it needs, plus a method to to manipulate them once all iterations have been completed and finally a method that spits out the image.

Thanks for the confirmation.

Mike
GeneralRe: Running out of Memory - Maths Check Pin
Andrei Straut at 3-Sep-12 11:56
memberAndrei Straut3-Sep-12 11:56 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger at 3-Sep-12 12:18
memberMike-MadBadger3-Sep-12 12:18 
GeneralRe: Running out of Memory - Maths Check Pin
harold aptroot at 3-Sep-12 22:54
memberharold aptroot3-Sep-12 22:54 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger at 4-Sep-12 1:26
memberMike-MadBadger4-Sep-12 1:26 
AnswerRe: News Page Pin
Mike-MadBadger at 3-Sep-12 22:12
memberMike-MadBadger3-Sep-12 22:12 
AnswerRe: Running out of Memory - Maths Check Pin
YvesDaoust at 4-Sep-12 0:21
memberYvesDaoust4-Sep-12 0:21 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger at 4-Sep-12 1:29
memberMike-MadBadger4-Sep-12 1:29 
AnswerRe: Running out of Memory - Maths Check Pin
Member 9131496 at 4-Sep-12 2:56
memberMember 91314964-Sep-12 2:56 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger at 4-Sep-12 10:29
memberMike-MadBadger4-Sep-12 10:29 
GeneralRe: Running out of Memory - Maths Check Pin
Member 9131496 at 5-Sep-12 3:00
memberMember 91314965-Sep-12 3:00 
SuggestionRe: Running out of Memory - Maths Check Pin
Jeremy David Thomson at 5-Sep-12 2:36
memberJeremy David Thomson5-Sep-12 2:36 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger at 5-Sep-12 6:54
memberMike-MadBadger5-Sep-12 6:54 
AnswerRe: Running out of Memory - Maths Check Pin
Member 3140962 at 6-Sep-12 21:36
memberMember 31409626-Sep-12 21:36 
GeneralRe: Running out of Memory - Maths Check Pin
Stefan_Lang at 7-Sep-12 5:29
memberStefan_Lang7-Sep-12 5:29 
AnswerRe: Running out of Memory - Maths Check Pin
Stefan_Lang at 7-Sep-12 5:49
memberStefan_Lang7-Sep-12 5:49 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger at 7-Sep-12 22:23
memberMike-MadBadger7-Sep-12 22:23 
GeneralRe: Running out of Memory - Maths Check Pin
Stefan_Lang at 10-Sep-12 1:53
memberStefan_Lang10-Sep-12 1:53 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger at 10-Sep-12 21:50
memberMike-MadBadger10-Sep-12 21:50 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger at 11-Sep-12 22:29
memberMike-MadBadger11-Sep-12 22:29 
GeneralRe: Running out of Memory - Maths Check Pin
Stefan_Lang at 11-Sep-12 23:46
memberStefan_Lang11-Sep-12 23:46 
AnswerRe: Running out of Memory - Maths Check Pin
Edward Giles at 26-Jun-13 20:35
memberEdward Giles26-Jun-13 20:35 
QuestionPDF417 generator and reader supports Arabic Pin
dinadido at 28-Aug-12 9:19
memberdinadido28-Aug-12 9:19 
AnswerCross post. Pin
SoMad at 28-Aug-12 12:10
memberSoMad28-Aug-12 12:10 
QuestionA Modelling Question Pin
Roger Wright at 21-Aug-12 14:01
memberRoger Wright21-Aug-12 14:01 
AnswerRe: A Modelling Question Pin
Peter_in_2780 at 21-Aug-12 14:25
memberPeter_in_278021-Aug-12 14:25 
GeneralRe: A Modelling Question Pin
Roger Wright at 21-Aug-12 16:38
memberRoger Wright21-Aug-12 16:38 
GeneralRe: A Modelling Question Pin
Peter_in_2780 at 21-Aug-12 17:08
memberPeter_in_278021-Aug-12 17:08 
GeneralRe: A Modelling Question Pin
Roger Wright at 21-Aug-12 17:51
memberRoger Wright21-Aug-12 17:51 
QuestionC# XNA 4 AI for path Pin
TechXSoftware at 19-Aug-12 19:39
memberTechXSoftware19-Aug-12 19:39 
AnswerRe: C# XNA 4 AI for path Pin
jk chan at 19-Aug-12 22:44
memberjk chan19-Aug-12 22:44 
GeneralRe: C# XNA 4 AI for path Pin
TechXSoftware at 19-Aug-12 23:05
memberTechXSoftware19-Aug-12 23:05 
GeneralRe: C# XNA 4 AI for path Pin
jk chan at 19-Aug-12 23:08
memberjk chan19-Aug-12 23:08 
GeneralRe: C# XNA 4 AI for path Pin
Arthur F Souza at 4-Sep-12 9:59
memberArthur F Souza4-Sep-12 9:59 
QuestionExtract Circle Features From Image Pin
Karl Sanford at 19-Jul-12 10:42
memberKarl Sanford19-Jul-12 10:42 
AnswerRe: Extract Circle Features From Image Pin
Luc Pattyn at 19-Jul-12 10:58
mvpLuc Pattyn19-Jul-12 10:58 
GeneralRe: Extract Circle Features From Image Pin
Karl Sanford at 19-Jul-12 11:06
memberKarl Sanford19-Jul-12 11:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.150427.1 | Last Updated 26 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid