public class Algorithms extends Object
Constructor and Description |
---|
Algorithms() |
Modifier and Type | Method and Description |
---|---|
MLAlgo |
getAlgoForName(String name)
Gets the algo for name.
|
List<String> |
getAlgorithmNames() |
boolean |
isAlgoSupported(String name)
Checks if is algo supported.
|
void |
register(Class<? extends MLAlgo> algoClass)
Register.
|
public void register(Class<? extends MLAlgo> algoClass)
algoClass
- the algo classpublic MLAlgo getAlgoForName(String name) throws LensException
name
- the nameLensException
- the lens exceptionpublic boolean isAlgoSupported(String name)
name
- the nameCopyright © 2014–2016 Apache Software Foundation. All rights reserved.