Location:
Search - 所有子集
Search list
Description: 用回朔算法解决子集和问题
输出整数集的所有子集,使子集的各元素之和为S-Schomburg algorithm used to solve the problem and the subset of output Integer Set subset of all, the subset of the elements and as S
Platform: |
Size: 11307 |
Author: xdingy |
Hits:
Description: 递归实验,用递归输出全排列和集合的所有子集
Platform: |
Size: 225 |
Author: y_form@126.com |
Hits:
Description: 用回朔算法解决子集和问题
输出整数集的所有子集,使子集的各元素之和为S-Schomburg algorithm used to solve the problem and the subset of output Integer Set subset of all, the subset of the elements and as S
Platform: |
Size: 894976 |
Author: xdingy |
Hits:
Description: C语音名题100中的一道习题 编写一个程序,用gray码的顺序列出一个集合的所有子集。
(所谓gray码,就是相邻的集合间,只有一个不同的元素)-C voice of title 100 of an Exercise to prepare a program, using gray code listed in the order of a collection of all subset. (The so-called gray code, that is adjacent to the collection, only a different elements)
Platform: |
Size: 1024 |
Author: 高腾飞 |
Hits:
Description: 输入n个数,求这n个数构成的集合的所有子集-Enter the number n, find the n number of the set of all subsets
Platform: |
Size: 1024 |
Author: 小张 |
Hits:
Description: 输入一个集合中元素,程序能够求出其所有子集-Enter a collection element, the program can calculate all of its subsets
Platform: |
Size: 846848 |
Author: fengwuyu |
Hits:
Description: *编写递归函数,求n个元素集合的所有子集。
不妨令集合元素为小写字母,原集合为{ a , b , …, a + n - 1-* Write a recursive function, find the set of all n-element subset. May wish to make a collection of elements to lowercase letters, the original set is {' a' , ' b' , ..., ' a' + n- 1
Platform: |
Size: 3072 |
Author: rocaria |
Hits:
Description: 一个求集合所有子集的程序,感觉挺巧妙的,效率比较高-Find all subsets of a set of procedures, feeling very clever, more efficient
Platform: |
Size: 235520 |
Author: |
Hits:
Description: 求一个集合的所有子集,迭代方法实现,非常简单,一看就懂-Find a collection of all subsets, iterative method implementation is very simple to understand at a glance
Platform: |
Size: 92160 |
Author: |
Hits:
Description: ary[]{1,2,3,4} 求打印其的所有子集。这是关于【幂集】的问题。
【幂集】包括【全集】和【空集】。对于有N个元素的集(/ □ \)合,它的幂集个数有2的N次方个。
比如这个例子,数组有4个元素。那么用4个位表示每一个元素(假设从左到右表示1234吧),0表示该数不存在,1表示存在。
则:
0000表示空集{}。
0001表示{4}。
0010表示{3};
0011表示{3,4};
…………
1110表示{1,2,3};
1111表示{1,2,3,4}。-ary [] {1,2,3,4} request to print all of its subsets. This is about power set】 【problems. Including the power set】 【Collection】 and 【】 【empty set. For N elements of the set (/ □ \) together, it is the power set of the number of N-th power of 2 months. Such as this example, the array has 4 elements. So with four bits of each element (assuming that 1234 bar from left to right), and 0 indicates that the number does not exist, one that exists. Then: 0000 represents the empty set {}. 0001 {4} said. 0010 that {3} 0011 for {3,4} ... ... ... ... 1110 that {1,2,3} 1111 that {1,2,3,4}.
Platform: |
Size: 1024 |
Author: jinceon |
Hits:
Description: 生成子集 输入一个集合,求该集合的所有子集-Generation subset
Platform: |
Size: 266240 |
Author: 陆逸冰 |
Hits:
Description: C语言实现了一个数组的所有子集,包括0集,使用了暴力法-All Subarray of an Array
Platform: |
Size: 1024 |
Author: 张磊 |
Hits:
Description: c++算法,输入一组数,可输出其所有子集,包括空集-put out all subset
Platform: |
Size: 706560 |
Author: 王蔚 |
Hits:
Description: 编写递归函数,求n个元素集合的所有子集。
不妨令集合元素为小写字母,原集合为{ a , b , …, a + n - 1}。
输入:input.txt,仅包含整数n(1-26)。
输出:若输入合法,输出集合的所有子集;否则输出"WRONG"。-Write a recursive function, an n-element set of all subset of.
May wish to make a collection of elements to lowercase letters, the original set is { a , b , ..., a + n- 1}.
Input: input.txt contains only the integer n (1-26).
Output: enter a valid subset of the output collection otherwise output "WRONG".
Platform: |
Size: 2048 |
Author: princess36也 |
Hits:
Description: 编写递归函数,求n个元素集合的所有子集。不妨令集合元素为小写字母,原集合为{ a , b , …, a + n - 1}。
输入:input.txt,仅包含整数n(1-26)。
输出:若输入合法,输出集合的所有子集;否则输出"WRONG"。子集输出格式为每行一个子集,空集用空行表示,非空集合每个元素间用一个空格间隔,最后一个元素之后不能有空格。-Write a recursive function, an n-element set of all subset of. May wish to make a collection of elements to lowercase letters, the original set is {' a' , ' b' , ..., ' a' + n- 1}. Input: input.txt contains only the integer n (1-26). Output: enter a valid subset of the output collection otherwise output " WRONG" . A subset of a subset of the output format for each line, empty set with an empty line, non-empty set with a space interval between each element of an element can not have spaces.
Platform: |
Size: 1024 |
Author: 麦白术 |
Hits:
Description: 编写递归函数,求n个元素集合的所有子集。-Write a recursive function, find the subset n elements collection.
Platform: |
Size: 1024 |
Author: 张蕊 |
Hits:
Description: 用标记法递归求集合的所有子集,C++实现-The subset notation recursive and collection, C++ achieve
Platform: |
Size: 2141184 |
Author: nill |
Hits:
Description: 编写递归函数,求n个元素集合的所有子集。不妨令集合元素为小写字母,原集合为{‘a’, ‘b’, …, ‘a’ + n - 1}。-Write a recursive function, all subsets of a set of elements for n
Platform: |
Size: 11264 |
Author: 王山 |
Hits:
Description: Apriori算法用于发现数据中的频繁项集以及关联规则,属于关联分析,
关联分析的目标包含两条:发现频繁项集和发现关联规则。
该算法基于一个很重要的原理,apriori原理,如果某个相机是频繁的,那么他的所有子集也是频繁的,
也就说,如果一个项集是非频繁的,那么它的所有超集也是非频繁的。
Apriori算法是先生成C1->L1->C2->L2->C3.Apriori算法的缺点是很明显的,每生成一个频繁项集,都要扫描整个数据集。
在数据规模很大的时候,这个是致命的性能瓶颈。
-Apriori algorithm is used to find data itemsets and association rules, are associated with analysis,
Association analysis included two goals: find frequent itemsets and association rules discovery.
The algorithm is based on a very important principle, apriori theory, if a camera is frequent, then all subsets also his frequent,
Also said that if a non-frequent item sets, then it is also a superset of all the non-frequent.
Apriori algorithm is Mr. Cheng C1-> L1-> C2-> L2-> shortcomings C3.Apriori algorithm is obvious, each generating a frequent item sets, must scan the entire data set.
When a large-scale data, this is the fatal performance bottleneck.
Platform: |
Size: 2048 |
Author: iihaozl |
Hits:
Description: 找出一个向量或者数组的所有子集,数组中所有向量的全部组合排列组成的子集(Find a subset of the array)
Platform: |
Size: 2048 |
Author: lycky
|
Hits: