总结
来源:互联网 发布:arduino编程软件 编辑:程序博客网 时间:2024/05/16 00:49
1. subset
possible solution -> search -> DFS -> recursion; cur_set is a temp inventory, while pos is indicate current parent node, by which it can avoid producing duplicated sets
2. subsetII
cur_set shouldnot be choose by leaping a key that has same value compared with the previous one
递归的时间复杂度:所有方案的个数*构造每个方案的时间复杂度
递归的空间复杂度:
参数都是o(1)的
permutation
畅通词汇 英 [ˌpɜːmju'teɪʃn] 美 [ˌpɜːrmju'teɪʃn]
用作名词 (n.)
- The combining roulette wheel with optimization selection is used.A position-based and group permutation crossover method and random mutation are introduced.
采用轮盘赌与最优性相结合的方法进行选择,设计基于位置成组移位的杂交算子和随机交换的变异算子。 - Such a permutation is called a derangement.
这样的一个排列称为错位排列。
permute
英 [pə'mjuːt] 美 [pə'mjuːt]
- The algorithm in the proposed program can mask the image data and permutepixels location by chaotic sequences.
算法程序首次采用了图像数据的混沌掩盖加密和图像象素位置的置乱加密相结合的方法,对图像进行了两次复合的混沌加密。 - The algorithm in the proposed program can mask the image data and permutepixel's location by chaotic sequences.
算法程序首次采用了图像数据的混沌掩盖加密和图像象素位置的置乱加密相结合的方法,对图像进行了两次复合的混沌加密。 - Image array disturbed algorithm has been improved to implement multiple permutebetter. The algorithm shortens its encryption time, so it fits image encryption well.
为了更好的实现多步置乱,对图像位置置乱算法进行了改进,改进后的算法提升了混沌位置置乱加密速度,符合图像加密的需要。 - to orient and permute edgesFor an explanation of the table below, click here.
概括顶层的公式,都是确定棱块色方向和调动棱块。下表的解释说明,点击这里. - to orient and permute cornersFor an explanation of the table below, click here.
概括顶层的公式,都是确定角块色方向和调动角块。下表的解释说明,点击这里。
0 0