data-partitioning
Problem with a recursive partition (number theory) function
Example: Let’s say your user input is 6. Then the number of sequences that sum up to 6 is 11 (including 6 itself). The problem I am having is that it works when the user enters 1 or 6, but if not it[详细]
2023-01-29 15:35 分类:问答Algorithm to generate all unique permutations of fixed-length integer partitions?
I\'m sea开发者_高级运维rching for an algorithm that generates all permutations of fixed-length partitions of an integer. Order does not matter.[详细]
2023-01-24 23:38 分类:问答Matlab partition problem
My head gets stucked finding an algorithm for my problem. Assume I have N Numbers (lets say 4) and I want have ALL X-Partition开发者_如何学Cs (X = N/2)[详细]
2023-01-14 23:13 分类:问答Algorithm for number of transitions between pair of set (graph) partitions
Say I have a set (or graph) which is partitioned into groups.I am interested to find the number of transitions between two partitions, where a transition involves taking an element out of one partitio[详细]
2023-01-13 01:50 分类:问答Partition line into equal parts
This is a geometry question. I have a line between two points A and B and want separate it into k equal parts. I need the coordinates of the points that partition the line between A and B.[详细]
2023-01-12 09:49 分类:问答3D clustering Algorithm
Problem Statement: I have the following problem: There are more than a billion points in 3D space. The goal is to find the top N points which has largest number of neighbors within given distance R.[详细]
2023-01-11 07:22 分类:问答How to algorithmically partition a keyspace?
This is related to consistent hashing and while I conceptually understand what I need to do, I\'m having a hard time translating this into code.[详细]
2023-01-02 00:52 分类:问答Quicksort / vector / partition issue
I have an issue with the following code : class quicksort { private: void _sort(double_it begin, double_it end)[详细]
2023-01-01 06:58 分类:问答Replace duplicate values in array with new randomly generated values
I have below a function (from a previous question that went unanswered) that creates an array with n amount of values. The sum of the array is e开发者_如何学运维qual to $max.[详细]
2022-12-29 09:38 分类:问答Partition method
I am trying to understand exactly what this method does, it say its suppose to \"Keep swapping the outer-most wron开发者_StackOverflow社区gly-positioned pairs\". I put this into a program[详细]
2022-12-19 04:20 分类:问答
加载中,请稍侯......