Abstract
The shortest path is an extensive algorithm problem in graph theory. When faced with a huge amount of data in the shortest path problem, the problem with using traditional algorithms is the slow operation speed and high power consumption. To address these problems, this paper proposes a fully parallel matrix (FPM) algorithm. It uses the matrix multiplication principle and one-step modified signed-digit (MSD) adder, which can effectively implement parallel computing in ternary optical computers (TOCs). Finally, we compare clock cycles, and the results show that the TOC-based FPM algorithm can efficiently reduce the calculation time when solving the shortest path problem.
© 2020 Optical Society of America
Full Article | PDF ArticleMore Like This
Wang Zhehe and Shen Yunfu
Appl. Opt. 60(30) 9254-9262 (2021)
Kai Song and Liping Yan
Appl. Opt. 51(7) 917-926 (2012)
Qun Xu, Xianchao Wang, and Chao Xu
Appl. Opt. 56(16) 4661-4669 (2017)