Click here to Skip to main content
15,887,746 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Convert bits to bytes Pin
Peter_in_278014-Feb-12 20:35
professionalPeter_in_278014-Feb-12 20:35 
QuestionOrdering (Poly) Lines Pin
Kyudos13-Feb-12 19:38
Kyudos13-Feb-12 19:38 
AnswerRe: Ordering (Poly) Lines Pin
Alan Balkany16-Feb-12 4:03
Alan Balkany16-Feb-12 4:03 
QuestionCan you do this with a convex hull? Pin
Kyudos12-Feb-12 12:40
Kyudos12-Feb-12 12:40 
AnswerRe: Can you do this with a convex hull? Pin
Kyudos12-Feb-12 14:13
Kyudos12-Feb-12 14:13 
AnswerRe: Can you do this with a convex hull? Pin
BobJanova12-Feb-12 23:03
BobJanova12-Feb-12 23:03 
GeneralRe: Can you do this with a convex hull? Pin
Kyudos13-Feb-12 12:57
Kyudos13-Feb-12 12:57 
GeneralRe: Can you do this with a convex hull? Pin
BobJanova16-Feb-12 5:22
BobJanova16-Feb-12 5:22 
Okay, so if you can find that it's the green and red lines you want, my solution will work for creating the polygon. (The average point will be somewhere in the middle and then G1, R1, R2, G2 are in order of angle from it.)

To find which lines you want, order them based on how far along the 'black axis' they cross the black lines, i.e. by r.b where r is any point on a line and b is the direction vector of the black lines.

(Sorry for not responding for a while, I forgot about this forum.)
GeneralRe: Can you do this with a convex hull? Pin
Kyudos16-Feb-12 9:50
Kyudos16-Feb-12 9:50 
AnswerRe: Can you do this with a convex hull? Pin
Luc Pattyn16-Feb-12 10:56
sitebuilderLuc Pattyn16-Feb-12 10:56 
GeneralRe: Can you do this with a convex hull? Pin
Kyudos16-Feb-12 15:31
Kyudos16-Feb-12 15:31 
GeneralRe: Can you do this with a convex hull? Pin
BobJanova17-Feb-12 0:36
BobJanova17-Feb-12 0:36 
Questionwordwrap with minimum raggedness Pin
Member 858607226-Jan-12 10:09
Member 858607226-Jan-12 10:09 
AnswerCrosspost Pin
Peter_in_278026-Jan-12 11:37
professionalPeter_in_278026-Jan-12 11:37 
QuestionA type of balanced 0–1 matrix Pin
Member 858607221-Jan-12 8:01
Member 858607221-Jan-12 8:01 
AnswerRe: A type of balanced 0–1 matrix Pin
Alan Balkany16-Feb-12 4:08
Alan Balkany16-Feb-12 4:08 
Questioninput Pin
AsadRana21-Jan-12 1:27
AsadRana21-Jan-12 1:27 
AnswerRe: input Pin
Richard MacCutchan21-Jan-12 2:34
mveRichard MacCutchan21-Jan-12 2:34 
AnswerRe: input Pin
BillWoodruff29-Jan-12 13:08
professionalBillWoodruff29-Jan-12 13:08 
QuestionnQueens algorithm Pin
PIEBALDconsult31-Dec-11 4:02
mvePIEBALDconsult31-Dec-11 4:02 
AnswerRe: nQueens algorithm Pin
DaveAuld31-Dec-11 4:49
professionalDaveAuld31-Dec-11 4:49 
GeneralRe: nQueens algorithm Pin
PIEBALDconsult31-Dec-11 15:08
mvePIEBALDconsult31-Dec-11 15:08 
GeneralRe: nQueens algorithm Pin
Member 41945931-Jan-12 13:20
Member 41945931-Jan-12 13:20 
GeneralRe: nQueens algorithm Pin
PIEBALDconsult1-Jan-12 16:14
mvePIEBALDconsult1-Jan-12 16:14 
GeneralRe: nQueens algorithm Pin
PIEBALDconsult9-Jan-12 13:15
mvePIEBALDconsult9-Jan-12 13:15 

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.