首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 62 毫秒
1.
We consider the problem of solving a linear system Ax=bAx=b over a cyclotomic field. Cyclotomic fields are special in that we can easily find a prime pp for which the minimal polynomial m(z)m(z) for the field factors into a product of distinct linear factors. This makes it possible to develop fast modular algorithms.  相似文献   

2.
3.
Efficient algorithms for solving the center problems in weighted cactus networks are presented. In particular, we have proposed the following algorithms for the weighted cactus networks of size nn: an O(nlogn)O(nlogn) time algorithm to solve the 1-center problem, and an O(nlog3n)O(nlog3n) time algorithm to solve the weighted continuous 2-center problem. We have also provided improved solutions to the general pp-center problems in cactus networks. The developed ideas are then applied to solve the obnoxious 1-center problem in weighted cactus networks.  相似文献   

4.
The maximal matching problem has received considerable attention in the self-stabilizing community. Previous work has given several self-stabilizing algorithms that solve the problem for both the adversarial and the fair distributed daemon, the sequential adversarial daemon, as well as the synchronous daemon. In the following we present a single self-stabilizing algorithm for this problem that unites all of these algorithms in that it has the same time complexity as the previous best algorithms for the sequential adversarial, the distributed fair, and the synchronous daemon. In addition, the algorithm improves the previous best time complexities for the distributed adversarial daemon from O(n2)O(n2) and O(δm)O(δm) to O(m)O(m) where nn is the number of processes, mm is the number of edges, and δδ is the maximum degree in the graph.  相似文献   

5.
6.
We consider the following basic question: a source node wishes to stream an ordered sequence of packets to a collection of receivers, which are in KK clusters. A node may send a packet to another node in its own cluster in one time step and to a node in a different cluster in TcTc time steps (Tc>1)(Tc>1). Each cluster has two special nodes. We assume that the source and the special nodes in each cluster have a higher capacity and thus can send multiple packets at each step, while all other nodes can both send and receive a packet at each step. We construct two (intra-cluster) data communication schemes, one based on multi-trees (using a collection of dd-ary interior-disjoint trees) and the other based on hypercubes. The multi-tree scheme sustains streaming within a cluster with O(dlogN)O(dlogN) maximum playback delay and O(dlogN)O(dlogN) size buffers, while communicating with O(d)O(d) neighbors, where NN is the maximum size of any cluster. We also show that this protocol is optimal when d=2d=2 or 3. The hypercube scheme sustains streaming within a cluster, with O(log2(N))O(log2(N)) maximum playback delay and O(1)O(1) size buffers, while communicating with O(log(N))O(log(N)) neighbors, for arbitrary NN. In addition, we extend our multi-tree scheme to work when receivers depart and arrive over time. We also evaluate our dynamic schemes using simulations.  相似文献   

7.
We consider the problem of scheduling communication on optical WDM (wavelength division multiplexing) networks using the light-trails technology. We seek to design scheduling algorithms such that the given transmission requests can be scheduled using a minimum number of wavelengths (optical channels). We provide algorithms and close lower bounds for two versions of the problem on an nn processor linear array/ring network. In the stationary   version, the pattern of transmissions (given) is assumed to not change over time. For this, a simple lower bound is cc, the congestion or the maximum total traffic required to pass through any link. We give an algorithm that schedules the transmissions using O(c+logn)O(c+logn) wavelengths. We also show a pattern for which Ω(c+logn/loglogn)Ω(c+logn/loglogn) wavelengths are needed. In the on-line   version, the transmissions arrive and depart dynamically, and must be scheduled without upsetting the previously scheduled transmissions. For this case we give an on-line algorithm which has competitive ratio Θ(logn)Θ(logn). We show that this is optimal in the sense that every on-line algorithm must have competitive ratio Ω(logn)Ω(logn). We also give an algorithm that appears to do well in simulations (for the classes of traffic we consider), but which has competitive ratio between Ω(log2n/loglogn)Ω(log2n/loglogn) and O(log2n)O(log2n). We present detailed simulations of both our algorithms.  相似文献   

8.
The claw finding problem has been studied in terms of query complexity as one of the problems closely connected to cryptography. Given two functions, ff and gg, with domain sizes NN and MM(N≤M)(NM), respectively, and the same range, the goal of the problem is to find xx and yy such that f(x)=g(y)f(x)=g(y). This problem has been considered in both quantum and classical settings in terms of query complexity. This paper describes an optimal algorithm that uses quantum walk to solve this problem. Our algorithm can be slightly modified to solve the more general problem of finding a tuple consisting of elements in the two function domains that has a prespecified property. It can also be generalized to find a claw of kk functions for any constant integer k>1k>1, where the domain sizes of the functions may be different.  相似文献   

9.
We give a polynomial time reduction from the vector scheduling problem (VS) to the generalized load balancing problem (GLB). This reduction gives the first non-trivial online algorithm for VS where vectors come in an online fashion. The online algorithm is very simple in that each vector only needs to minimize the Lln(md)Lln(md) norm of the resulting load when it comes, where mm is the number of partitions and dd is the dimension of vectors. It has an approximation bound of elog(md)elog(md), which is in O(ln(md))O(ln(md)), so it also improves the O(ln2d)O(ln2d) bound of the existing polynomial time algorithm for VS. Additionally, the reduction shows that GLB does not have constant approximation algorithms that run in polynomial time unless P=NPP=NP.  相似文献   

10.
This paper addresses the attitude synchronization problem in multi-agent systems with directed and switching interconnection topologies. Two cases for the synchronization problem are discussed under different assumptions about the measurable information. In the first case the agents can measure their rotations relative to a global reference coordinate frame, whilst in the second case they can only measure the relative rotations between each other. Two intuitive distributed control laws based on the axis–angle representations of the rotations are proposed for the two cases, respectively. The invariance of convex balls in SO(3)SO(3) is guaranteed. Moreover, attitude synchronization is ensured under the well-known mild switching assumptions, the joint strong connection for the first case and joint quasi-strong connection for the second case. To show the effectiveness of the proposed control schemes, illustrative examples are provided.  相似文献   

11.
Matroid theory gives us powerful techniques for understanding combinatorial optimization problems and for designing polynomial-time algorithms. However, several natural matroid problems, such as 3-matroid intersection, are NP-hard. Here we investigate these problems from the parameterized complexity point of view: instead of the trivial nO(k)nO(k) time brute force algorithm for finding a kk-element solution, we try to give algorithms with uniformly polynomial (i.e., f(k)⋅nO(1)f(k)nO(1)) running time. The main result is that if the ground set of a represented linear matroid is partitioned into blocks of size ??, then we can determine in randomized time f(k,?)⋅nO(1)f(k,?)nO(1) whether there is an independent set that is the union of kk blocks. As a consequence, algorithms with similar running time are obtained for other problems such as finding a kk-element set in the intersection of ?? matroids, or finding kk terminals in a network such that each of them can be connected simultaneously to the source by ?? disjoint paths.  相似文献   

12.
Short-range interatomic interactions govern many bio-molecular processes. Therefore, identifying close interaction partners in ensemble data is an essential task in structural biology and computational biophysics. A contact search can be cast as a typical range search problem for which efficient algorithms have been developed. However, none of those has yet been adapted to the context of macromolecular ensembles, particularly in a molecular dynamics (MD) framework. Here a set-decomposition algorithm is implemented which detects all contacting atoms or residues in maximum O(Nlog(N))O(Nlog(N)) run-time, in contrast to the O(N2)O(N2) complexity of a brute-force approach.  相似文献   

13.
We consider the problem of grooming paths in all-optical networks with tree topology so as to minimize the switching cost, measured by the total number of used ADMs. We first present efficient approximation algorithms with approximation factor of 2ln(δ⋅g)+o(ln(δ⋅g))2ln(δg)+o(ln(δg)) for any fixed node degree bound δδ and grooming factor gg, and 2lng+o(lng)2lng+o(lng) in unbounded degree directed trees, respectively. In the attempt to extend our results to general undirected trees, we completely characterize the complexity of the problem in star networks by providing polynomial time optimal algorithms for g≤2g2 and proving the intractability of the problem for any fixed g>2g>2. While for general topologies, the problem was known to be NP-hard gg not constant, the complexity for fixed values of gg was still an open question.  相似文献   

14.
15.
16.
17.
Self-stabilizing algorithms for optimization problems can often be solved more easily using the distance-two model in which each vertex can instantly see the state information of all vertices up to distance two. This paper presents a new technique to emulate algorithms for the distance-two model on the distance-one model using the distributed scheduler with a slowdown factor of O(m)O(m) moves. Up until now the best transformer had a slowdown factor of O(n2m)O(n2m) moves. The technique is used to derive improved self-stabilizing algorithms for several graph domination problems. The paper also introduces a generalization of the distance-two model allowing a more space efficient transformer.  相似文献   

18.
19.
Our recent method for low-rank tensor representation of sums of the arbitrarily positioned electrostatic potentials discretized on a 3D Cartesian grid reduces the 3D tensor summation to operations involving only 1D vectors however retaining the linear complexity scaling in the number of potentials. Here, we introduce and study a novel tensor approach for fast and accurate assembled summation of a large number of lattice-allocated potentials represented on 3D N×N×NN×N×N grid with the computational requirements only weakly dependent   on the number of summed potentials. It is based on the assembled low-rank canonical tensor representations of the collected potentials using pointwise sums of shifted canonical vectors representing the single generating function, say the Newton kernel. For a sum of electrostatic potentials over L×L×LL×L×L lattice embedded in a box the required storage scales linearly in the 1D grid-size, O(N)O(N), while the numerical cost is estimated by O(NL)O(NL). For periodic boundary conditions, the storage demand remains proportional to the 1D grid-size of a unit cell, n=N/Ln=N/L, while the numerical cost reduces to O(N)O(N), that outperforms the FFT-based Ewald-type summation algorithms of complexity O(N3logN)O(N3logN). The complexity in the grid parameter NN can be reduced even to the logarithmic scale O(logN)O(logN) by using data-sparse representation of canonical NN-vectors via the quantics tensor approximation. For justification, we prove an upper bound on the quantics ranks for the canonical vectors in the overall lattice sum. The presented approach is beneficial in applications which require further functional calculus with the lattice potential, say, scalar product with a function, integration or differentiation, which can be performed easily in tensor arithmetics on large 3D grids with 1D cost. Numerical tests illustrate the performance of the tensor summation method and confirm the estimated bounds on the tensor ranks.  相似文献   

20.
This study addresses the identical parallel machine scheduling problem in which the total earliness and tardiness about a common due date are minimized subject to minimum total flowtime, P∥(E+T)/∑CiP(E+T)/Ci. The problem is demonstrated to be transformed into a simplified version of the parallel machine problem with the objective of minimizing makespan subject to minimum total flowtime, P∥Cmax/∑CiPCmax/Ci. Several properties are considered to solve optimally the restricted version of the problem. A streamlined binary integer programming model is developed to solve the P∥Cmax/∑CiPCmax/Ci problem and the P∥(E+T)/∑CiP(E+T)/Ci problem. Computational experiments indicate that the binary integer programming model is superior to the existing optimization algorithm for the P∥Cmax/∑CiPCmax/Ci problem in the literature.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号