algorithm
1-D barcode scanner(using images from a capturing device) implementation in java
I am a student and as a project i have to implement a barcode(1-D) based attendance marking system.While surfing across the web i came to know tha开发者_C百科t barcode readers are a bit costly toys to[详细]
2023-04-12 21:08 分类:问答Sorting points such that the minimal Euclidean distance between consecutive points would be maximized
Given a set of points in a 3D Cartesian space, I am looking for an algorithm that will sort these points, such that the minimal Euclidean distance between two consecutive points would be maximized.[详细]
2023-04-12 20:41 分类:问答there's a way to sort a regular expressions list by specificity?
I\'m looking for something that allows me to sort a list of regular expression, or some documentation and re开发者_StackOverflowsearch,[详细]
2023-04-12 20:19 分类:问答How can I convert this divide and conquer code to compare one point to a list of points?
I found this code on the website http://rosettacode.org/wiki/Closest-pair_problem and I adopted the C# version of the divide and conquer method of finding the closest pair of points but what I am tryi[详细]
2023-04-12 19:55 分类:问答How can I make a random selection from an inversely-weighted list?
Given a list of integers, e.g. 1, 2, 3, 4, I know开发者_开发百科 how to select items based on their weight. The example items would have probabilities of 10%, 20%, 30%, and 40%, respectively.[详细]
2023-04-12 18:09 分类:问答Objective-C: most efficient way to map from number to according NSRange in NSDictionary
I\'ve got a lot of objects with according ranges: Object1 => 0 - 23 Object2开发者_如何学Python => 24 - 84[详细]
2023-04-12 18:02 分类:问答Non-recursive merge sort with two nested loops - how?
First question here, and yes this is a homework question. We are tasked with performing merge sort on an array (which I am familiar with), but in a way I am unsure of how to do. Usually I would have a[详细]
2023-04-12 17:56 分类:问答Basic rectangle splitting
I\'m stuck on some trivial question and, well, I guess I need help here. I have two rectangles and it\'s guaranteed that they have one common point from their 4 base points (upper part of the picture[详细]
2023-04-12 17:53 分类:问答Extend a line segment a specific distance
I am trying to find a way to extend a line segment by a specific distance.For example if I have a line segment starting at 10,10 extending to 20,13 and I want to extend the length by by 3 how do I com[详细]
2023-04-12 17:40 分类:问答Sorting of Array to find first 20 smallest number [duplicate]
This question already has answers here: Closed 11 years ago. Pos开发者_StackOverflow社区sible Duplicate:[详细]
2023-04-12 17:38 分类:问答