org.apache.lens.ml
Class Algorithms

java.lang.Object
  extended by org.apache.lens.ml.Algorithms

public class Algorithms
extends Object

The Class Algorithms.


Constructor Summary
Algorithms()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Algorithms

public Algorithms()
Method Detail

register

public void register(Class<? extends MLAlgo> algoClass)
Register.

Parameters:
algoClass - the algo class

getAlgoForName

public MLAlgo getAlgoForName(String name)
                      throws LensException
Gets the algo for name.

Parameters:
name - the name
Returns:
the algo for name
Throws:
LensException - the lens exception

isAlgoSupported

public boolean isAlgoSupported(String name)
Checks if is algo supported.

Parameters:
name - the name
Returns:
true, if is algo supported

getAlgorithmNames

public List<String> getAlgorithmNames()


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.