Click here to Skip to main content
15,890,825 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Regarding pleas, requests, begging,etc... for urgent homework Pin
CPallini6-Apr-09 21:48
mveCPallini6-Apr-09 21:48 
QuestionContent extractor Pin
uprndra11-Mar-09 20:26
uprndra11-Mar-09 20:26 
AnswerTokenize, then parse Pin
73Zeppelin13-Mar-09 22:23
73Zeppelin13-Mar-09 22:23 
GeneralRe: Tokenize, then parse Pin
uprndra14-Mar-09 4:30
uprndra14-Mar-09 4:30 
GeneralRe: Tokenize, then parse Pin
73Zeppelin15-Mar-09 21:07
73Zeppelin15-Mar-09 21:07 
QuestionDividing groups of objects into sets Pin
supercat910-Mar-09 13:35
supercat910-Mar-09 13:35 
AnswerRe: Dividing groups of objects into sets Pin
Alan Balkany11-Mar-09 4:10
Alan Balkany11-Mar-09 4:10 
GeneralRe: Dividing groups of objects into sets Pin
supercat911-Mar-09 7:08
supercat911-Mar-09 7:08 
I'll have to give that a try. There are a few similar problems I have, with somewhat different parameters; the approach may work well if there are 100 groups of things, but may not work so well in a variation with 1,000 groups. Even there, though, it might not be too totally horrible if it's possible to quickly identify how many items are shared by two groups (doing 1,000,000 such match-ups might not be too horrible if they took a microsecond each, but would be annoying if they took a millisecond).

I'd been debating whether it would be better to grow clusters separately, or whether it would be better to pick an item to start a cluster, and then grow that cluster until things don't fit any more, then start another cluster, etc. I suppose the best approach may depend upon the exact data to be processed, but the data won't exist until after the compressor is done.

Basically, I'm trying to compress some level-design data for use on a very old video game system (Atari 2600, running off a 1.19MHz 6502 with 128 bytes of RAM and 8x4k banks of ROM). The goal will be to take a level design and process it into the format necessary for the game. I can't know what sorts of levels will be designed until I get some idea of what's likely to fit. It would be possible to accommodate 20 rooms of arbitrary data, but many rooms are going to have rows in common, so in practice it should be able to accommodate a lot more than 20 rooms. I don't know how much more, however.
Questioncharacter recognition Pin
Swati Khanna10-Mar-09 8:20
Swati Khanna10-Mar-09 8:20 
AnswerRe: character recognition Pin
Alan Balkany11-Mar-09 3:46
Alan Balkany11-Mar-09 3:46 
GeneralRe: character recognition Pin
Swati Khanna11-Mar-09 10:53
Swati Khanna11-Mar-09 10:53 
GeneralRe: character recognition Pin
Swati Khanna11-Mar-09 10:55
Swati Khanna11-Mar-09 10:55 
GeneralRe: character recognition Pin
Alan Balkany11-Mar-09 11:16
Alan Balkany11-Mar-09 11:16 
AnswerRe: character recognition Pin
PredictorX21-Mar-09 12:16
PredictorX21-Mar-09 12:16 
QuestionPre Fetching Global Variables Pin
War Hawk8-Mar-09 8:26
War Hawk8-Mar-09 8:26 
AnswerRe: Pre Fetching Global Variables PinPopular
Pete O'Hanlon8-Mar-09 12:30
mvePete O'Hanlon8-Mar-09 12:30 
QuestionCalculating a width and height, not square root. Pin
Cloughy7-Mar-09 4:19
Cloughy7-Mar-09 4:19 
AnswerRe: Calculating a width and height, not square root. Pin
73Zeppelin7-Mar-09 4:37
73Zeppelin7-Mar-09 4:37 
GeneralRe: Calculating a width and height, not square root. Pin
Luc Pattyn7-Mar-09 5:22
sitebuilderLuc Pattyn7-Mar-09 5:22 
GeneralRe: Calculating a width and height, not square root. Pin
Cloughy7-Mar-09 5:25
Cloughy7-Mar-09 5:25 
GeneralRe: Calculating a width and height, not square root. Pin
Yusuf7-Mar-09 13:23
Yusuf7-Mar-09 13:23 
AnswerRe: Calculating a width and height, not square root. Pin
Cloughy7-Mar-09 5:27
Cloughy7-Mar-09 5:27 
GeneralRe: Calculating a width and height, not square root. Pin
Luc Pattyn7-Mar-09 5:34
sitebuilderLuc Pattyn7-Mar-09 5:34 
GeneralRe: Calculating a width and height, not square root. Pin
Cloughy7-Mar-09 6:04
Cloughy7-Mar-09 6:04 
GeneralRe: Calculating a width and height, not square root. [modified] Pin
0x3c07-Mar-09 7:05
0x3c07-Mar-09 7:05 

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

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