Click here to Skip to main content
15,889,462 members
Home / Discussions / Algorithms
   

Algorithms

 
JokeRe: 2D Self Assemblers - Need an Implementation Guide Pin
Luc Pattyn2-Feb-10 3:34
sitebuilderLuc Pattyn2-Feb-10 3:34 
GeneralRe: 2D Self Assemblers - Need an Implementation Guide Pin
Sai Yasodharan2-Feb-10 14:29
Sai Yasodharan2-Feb-10 14:29 
GeneralRe: 2D Self Assemblers - Need an Implementation Guide Pin
Richard MacCutchan2-Feb-10 22:27
mveRichard MacCutchan2-Feb-10 22:27 
AnswerRe: 2D Self Assemblers - Need an Implementation Guide Pin
Sai Yasodharan3-Feb-10 14:43
Sai Yasodharan3-Feb-10 14:43 
QuestionFind compression type jpeg image Pin
Game-point27-Jan-10 17:41
Game-point27-Jan-10 17:41 
AnswerRe: Find compression type jpeg image Pin
ProtoBytes28-Jan-10 3:14
ProtoBytes28-Jan-10 3:14 
QuestionRepresenting physical directory strucure Pin
Fadi Yoosuf20-Jan-10 6:54
Fadi Yoosuf20-Jan-10 6:54 
AnswerRe: Representing physical directory strucure Pin
ProtoBytes28-Jan-10 3:21
ProtoBytes28-Jan-10 3:21 
Yes,

I have done this quite often there are several ways of doing this, it mostly depends on how you plan on searching the db or how you want to maintain the data. The obvious approach is to use a column file directory:

c:\mydir\thisdir\nextdir\and-so-on

This can make it a head ache if you need indexing.

The approach I used for indexing is to use a treemap where I had two colums a and b; a is the parent and b the child. you can build a directory structure this way easily. The problem with this approach is using SQL with it. You have to load the whole tree in memory in a tree map in the application then modify it and post it back or update the 'dirty' sections after you make changes to the tree.


Questionhow can we simulate intrusion prevention system Pin
mema710817-Jan-10 21:21
mema710817-Jan-10 21:21 
AnswerRe: how can we simulate intrusion prevention system Pin
ProtoBytes28-Jan-10 3:22
ProtoBytes28-Jan-10 3:22 
QuestionLegendre Polynomial Roots [Solved] Pin
Skippums13-Jan-10 9:56
Skippums13-Jan-10 9:56 
AnswerRe: Legendre Polynomial Roots Pin
Skippums13-Jan-10 10:32
Skippums13-Jan-10 10:32 
GeneralRe: Legendre Polynomial Roots Pin
harold aptroot13-Jan-10 11:11
harold aptroot13-Jan-10 11:11 
QuestionRe: Legendre Polynomial Roots Pin
Skippums14-Jan-10 9:44
Skippums14-Jan-10 9:44 
AnswerRe: Legendre Polynomial Roots Pin
harold aptroot14-Jan-10 10:17
harold aptroot14-Jan-10 10:17 
AnswerRe: Legendre Polynomial Roots Pin
ProtoBytes26-Jan-10 13:41
ProtoBytes26-Jan-10 13:41 
Questionselect problem? Pin
miss YY12-Jan-10 20:50
miss YY12-Jan-10 20:50 
AnswerRe: select problem? Pin
Tim Craig12-Jan-10 21:27
Tim Craig12-Jan-10 21:27 
QuestionHow to check if a tree is AVL tree? Pin
Cowork8-Jan-10 21:56
Cowork8-Jan-10 21:56 
AnswerRe: How to check if a tree is AVL tree? Pin
Dimitri Witkowski8-Jan-10 22:06
Dimitri Witkowski8-Jan-10 22:06 
AnswerRe: How to check if a tree is AVL tree? Pin
ProtoBytes26-Jan-10 13:48
ProtoBytes26-Jan-10 13:48 
QuestionComplexity help please! Pin
password9996-Jan-10 7:25
password9996-Jan-10 7:25 
AnswerRe: Complexity help please! Pin
ProtoBytes27-Jan-10 7:24
ProtoBytes27-Jan-10 7:24 
QuestionRomanization of Japanese using the Hepburn (or related - like ISO_3602) algorithm Pin
Tom Clement30-Dec-09 14:40
professionalTom Clement30-Dec-09 14:40 
AnswerRe: Romanization of Japanese using the Hepburn (or related - like ISO_3602) algorithm Pin
ProtoBytes27-Jan-10 7:20
ProtoBytes27-Jan-10 7:20 

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.