Click here to Skip to main content
15,891,033 members
Home / Discussions / Algorithms
   

Algorithms

 
Questiontarverse binary tree Pin
abu rakan26-Jan-09 1:02
abu rakan26-Jan-09 1:02 
AnswerRe: tarverse binary tree Pin
musefan26-Jan-09 3:03
musefan26-Jan-09 3:03 
GeneralRe: tarverse binary tree Pin
abu rakan26-Jan-09 10:29
abu rakan26-Jan-09 10:29 
GeneralRe: tarverse binary tree Pin
Alan Balkany27-Jan-09 11:35
Alan Balkany27-Jan-09 11:35 
AnswerRe: tarverse binary tree Pin
Alan Balkany26-Jan-09 3:54
Alan Balkany26-Jan-09 3:54 
AnswerRe: tarverse binary tree Pin
richardw4812-Feb-09 21:40
richardw4812-Feb-09 21:40 
QuestionEven Grouping Algorithm Pin
Kyudos19-Jan-09 9:52
Kyudos19-Jan-09 9:52 
GeneralRe: Even Grouping Algorithm Pin
Luc Pattyn19-Jan-09 10:45
sitebuilderLuc Pattyn19-Jan-09 10:45 
Kyudos wrote:
I want to have the minimum number of groups, but for each group to be 'as equal as possible'.


That is two requirements, they may (and will) be conflicting at times.


X=5 and M=2, now what is best: 2+2+1 or 1+1+1+1+1 ???

when the first requirement is dominant, then #groups=CEIL(X/M)
when the second requirement is dominant, then #groups=X/largest factor of X lessequal M
when a more complex optimum is defined, it will be somewhere in between...

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

I use ListBoxes for line-oriented text output (not TextBoxes), and PictureBoxes for pictures (not drawings).


GeneralRe: Even Grouping Algorithm Pin
Kyudos19-Jan-09 12:11
Kyudos19-Jan-09 12:11 
GeneralRe: Even Grouping Algorithm Pin
Luc Pattyn19-Jan-09 12:17
sitebuilderLuc Pattyn19-Jan-09 12:17 
AnswerA different grouping question Pin
supercat919-Jan-09 13:38
supercat919-Jan-09 13:38 
GeneralOT Pin
Luc Pattyn19-Jan-09 14:12
sitebuilderLuc Pattyn19-Jan-09 14:12 
QuestionFree Space calculation in NTFS partitions Pin
becktoan18-Jan-09 22:36
becktoan18-Jan-09 22:36 
AnswerRe: Free Space calculation in NTFS partitions Pin
C Change27-Jan-09 1:43
C Change27-Jan-09 1:43 
QuestionFinding points with maximial separation Pin
Wjousts14-Jan-09 3:57
Wjousts14-Jan-09 3:57 
AnswerRe: Finding points with maximial separation Pin
Alan Balkany14-Jan-09 4:15
Alan Balkany14-Jan-09 4:15 
GeneralRe: Finding points with maximial separation Pin
Wjousts14-Jan-09 7:54
Wjousts14-Jan-09 7:54 
GeneralRe: Finding points with maximial separation Pin
Alan Balkany14-Jan-09 9:56
Alan Balkany14-Jan-09 9:56 
GeneralRe: Finding points with maximial separation Pin
Luc Pattyn14-Jan-09 8:59
sitebuilderLuc Pattyn14-Jan-09 8:59 
AnswerRe: Finding points with maximial separation Pin
User 98852-Feb-09 3:22
User 98852-Feb-09 3:22 
QuestionDX-Ball game in java Language Pin
1uye8-Jan-09 5:38
1uye8-Jan-09 5:38 
AnswerRe: DX-Ball game in java Language Pin
EliottA8-Jan-09 6:38
EliottA8-Jan-09 6:38 
AnswerRe: DX-Ball game in java Language Pin
HosamAly8-Jan-09 19:58
HosamAly8-Jan-09 19:58 
QuestionOPT Replacement Policy [modified] Pin
Mustafa Ismail Mustafa4-Jan-09 22:46
Mustafa Ismail Mustafa4-Jan-09 22:46 
AnswerRe: OPT Replacement Policy Pin
Alan Balkany5-Jan-09 3:59
Alan Balkany5-Jan-09 3:59 

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.