Click here to Skip to main content
15,908,906 members
Home / Discussions / Algorithms
   

Algorithms

 
QuestionPiece wise Bezier Spline curve Pin
SSETH7-Feb-16 5:35
SSETH7-Feb-16 5:35 
GeneralRe: Piece wise Bezier Spline curve Pin
harold aptroot9-Feb-16 4:25
harold aptroot9-Feb-16 4:25 
AnswerRe: Piece wise Bezier Spline curve Pin
Kenneth Haugland9-Mar-16 5:38
mvaKenneth Haugland9-Mar-16 5:38 
QuestionDecision tree on random examples? Pin
Plasticstone6-Feb-16 5:36
Plasticstone6-Feb-16 5:36 
SuggestionRe: Decision tree on random examples? Pin
Gerry Schmitz6-Feb-16 6:17
mveGerry Schmitz6-Feb-16 6:17 
GeneralRe: Decision tree on random examples? Pin
Plasticstone6-Feb-16 6:55
Plasticstone6-Feb-16 6:55 
GeneralRe: Decision tree on random examples? Pin
Gerry Schmitz6-Feb-16 7:12
mveGerry Schmitz6-Feb-16 7:12 
QuestionWhat will be the time complexity and the size of subset for the following illustration in a polynomial time algorithm? Pin
operan5-Feb-16 6:59
operan5-Feb-16 6:59 
Let's assume that ‘k’ is an integer that indicate and reveals exactly the length of subset that sum to 0. Thus length of subset to pick is determined by ‘k’. If I would like to pick only ‘k’ distinct set of integers from any given set of integers in polynomial time without having needed to check through every possible length other than the chosen length. What will be the time complexity and the size of subset for every given subset sum problem?
For example:
Given a set of integers {-3, 17, 30, 12, -8 -15, 7, 45, 16, 9} is there a non-empty subset whose sum is zero? Yes, because k = 5. Output {-3, 17, -8, -15, 9 = 0}
Given a set of integers {12, 5, -6, 7, -22} is there a non-empty subset whose sum is zero? No, because k = null. Output none
Given a set of integers {8, 20, 3, 35, -2, 3, 40, 7, 16, -9, 25} is there a non-empty subset whose sum is zero? Yes, because k = 5. Output {8, 3, -2, -9 = 0}
Given a set of integers {-2, 10, 15, 20, 3, 12, 45, -6, 17, 1, 18, 5} is there a non-empty subset whose sum is zero? Yes because k = 9. Output {-2, 15, 3, 12, -45, -6, 17, 1, 5 = 0}
etc..

modified 5-Feb-16 13:17pm.

SuggestionRe: What will be the time complexity and the size of subset for the following illustration in a polynomial time algorithm? Pin
Richard Deeming5-Feb-16 7:23
mveRichard Deeming5-Feb-16 7:23 
GeneralRe: What will be the time complexity and the size of subset for the following illustration in a polynomial time algorithm? Pin
operan9-Mar-16 5:03
operan9-Mar-16 5:03 
AnswerRe: What will be the time complexity and the size of subset for the following illustration in a polynomial time algorithm? Pin
Matt T Heffron5-Feb-16 14:52
professionalMatt T Heffron5-Feb-16 14:52 
GeneralRe: What will be the time complexity and the size of subset for the following illustration in a polynomial time algorithm? Pin
operan9-Mar-16 5:17
operan9-Mar-16 5:17 
QuestionAdding branch to a tree Pin
Plasticstone4-Feb-16 8:10
Plasticstone4-Feb-16 8:10 
AnswerRe: Adding branch to a tree Pin
Patrice T4-Feb-16 22:11
mvePatrice T4-Feb-16 22:11 
QuestionAlgorithm for plotting charts with more than three (3) Axis Pin
Makinde A.29-Jan-16 19:31
professionalMakinde A.29-Jan-16 19:31 
AnswerRe: Algorithm for plotting charts with more than three (3) Axis Pin
Gerry Schmitz2-Feb-16 9:36
mveGerry Schmitz2-Feb-16 9:36 
AnswerRe: Algorithm for plotting charts with more than three (3) Axis Pin
NeverJustHere4-Feb-16 23:39
NeverJustHere4-Feb-16 23:39 
QuestionPlease feedback on class Node, Tree and help to finish DecisionTreeLearning class Pin
Plasticstone28-Jan-16 10:18
Plasticstone28-Jan-16 10:18 
AnswerRe: Please feedback on class Node, Tree and help to finish DecisionTreeLearning class Pin
Richard MacCutchan28-Jan-16 22:31
mveRichard MacCutchan28-Jan-16 22:31 
QuestionSine wave Analysis Alogoritham Pin
haritheera28-Jan-16 6:39
haritheera28-Jan-16 6:39 
AnswerRe: Sine wave Analysis Alogoritham Pin
Chris Losinger29-Jan-16 9:51
professionalChris Losinger29-Jan-16 9:51 
GeneralRe: Sine wave Analysis Alogoritham Pin
Daniel Pfeffer30-Jan-16 23:21
professionalDaniel Pfeffer30-Jan-16 23:21 
Questioncalculating the effect of "weighted vectors" Pin
BillWoodruff23-Jan-16 14:09
professionalBillWoodruff23-Jan-16 14:09 
AnswerRe: calculating the effect of "weighted vectors" Pin
Kenneth Haugland26-Jan-16 8:16
mvaKenneth Haugland26-Jan-16 8:16 
GeneralRe: calculating the effect of "weighted vectors" Pin
BillWoodruff26-Jan-16 23:07
professionalBillWoodruff26-Jan-16 23:07 

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.