Основные авторы описания: И.В.Афанасьев
JGraphT (класс FloydWarshallShortestPaths).
FloydWarshallShortestPaths