@ Override public Algorithm readAlgorithm ( String id ) throws AlgorithmSourceReadException { Algorithm result = null ; if ( id != null ) { if ( algorithms != null ) { result = algorithms . getAlgorithm ( id ) ; } if ( result == null ) { initializeIfNeeded ( ) ; for ( AlgorithmSourceBackend backend : getBackends ( ) ) { result = backend . readAlgorithm ( id , algorithms ) ; if ( result != null ) { break ; } } } } return result ; }
Read an algorithm with the given id .