Parallel implementations for complex graph analysis with application in modern passenger ship safety management