org.jdmp.core.algorithm
Interface Algorithm

All Superinterfaces:
Clearable, Cloneable, CoreObject, HasAlgorithmMap, HasAlgorithms, HasDescription, HasGUIObject, HasLabel, HasVariableMap, HasVariables, Serializable
All Known Implementing Classes:
About, Abs, AbstractAlgorithm, AbstractClassifier, AbstractClusterer, AbstractIndexer, AbstractRegressor, AbstractTagger, AbstractTokenizer, AlgorithmFiveSources, AlgorithmNoSource, AlgorithmTwoSources, Cd, ClassPath, Clone, Copy, CreateDiskMap, CreateEmptyMatrix, CreateHenon, CreateIris, CreateLinReg, CreateListMatrix, CreateMapMatrix, CreateMLP, CreateModule, CreateNaiveBayes, CreateSample, CreateSunSpotData, DimmingFunction, Env, Exec, Exit, Export, Gauss, Help, Import, Info, LinearRegression, LogisticFunction, Logisticmap, Mean, Memory, Minus, Mtimes, MultiClassClassifier, MultiLabelNaiveBayesClassifier, MultiLayerNetwork, NaiveBayesClassifier, NaiveBayesClassifierTest, NetworkLayerBackward, NetworkLayerForward, Ones, Paste, Plus, Processors, Properties, Pwd, Rand, Randn, Repeat, ReturningFunctionOne, ReturningFunctionTanh, Seed, SemiSupervisedEM, SerialExecution, Show, ShowLicense, Sum, Systemtime, Tanh, TanhPlusOne, Threads, Times, Transpose, Version, Weighting, WeightUpdate, Zeros

public interface Algorithm
extends CoreObject, HasVariableMap, HasAlgorithmMap


Nested Class Summary
static class Algorithm.EdgeDirection
           
 
Field Summary
static Class<?>[] ALGORITHMARRAY
           
static String DIMENSION
           
static String IGNORENAN
           
static String SOURCE
           
static String TARGET
           
 
Method Summary
 void addVariableKey(Object key)
           
 Map<Object,Object> calculate()
           
 Map<Object,Object> calculate(double... input)
           
 Map<Object,Object> calculate(List<Matrix> matrices)
           
 Map<Object,Object> calculate(Matrix... input)
           
 Map<Object,Object> calculateObjects(List<Object> matrices)
           
 Map<Object,Object> calculateObjects(Map<Object,Object> objects)
           
 Map<Object,Object> calculateObjects(Object... input)
           
 Algorithm.EdgeDirection getEdgeDirection(Object key)
           
 String getEdgeLabel(Object key)
           
 List<Object> getInputKeys()
           
 List<Object> getOutputKeys()
           
 List<Object> getVariableKeys()
           
 void setAlgorithm(Object key, Algorithm a)
           
 void setEdgeDirection(Object key, Algorithm.EdgeDirection direction)
           
 void setEdgeLabel(Object key, String edgeLabel)
           
 void setVariable(Object key, Variable variable)
           
 void setVariables(Variable... variables)
           
 
Methods inherited from interface org.ujmp.core.interfaces.Clearable
clear
 
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
getGUIObject, notifyGUIObject, showGUI
 
Methods inherited from interface org.ujmp.core.interfaces.HasLabel
getLabel, setLabel
 
Methods inherited from interface org.ujmp.core.interfaces.HasDescription
getDescription, setDescription
 
Methods inherited from interface org.jdmp.core.variable.HasVariableMap
getAsString, getMatrix, getVariables, setMatrix, setObject, setVariables
 
Methods inherited from interface org.jdmp.core.algorithm.HasAlgorithmMap
getAlgorithms
 

Field Detail

ALGORITHMARRAY

static final Class<?>[] ALGORITHMARRAY

SOURCE

static final String SOURCE
See Also:
Constant Field Values

DIMENSION

static final String DIMENSION
See Also:
Constant Field Values

IGNORENAN

static final String IGNORENAN
See Also:
Constant Field Values

TARGET

static final String TARGET
See Also:
Constant Field Values
Method Detail

setVariable

void setVariable(Object key,
                 Variable variable)

setAlgorithm

void setAlgorithm(Object key,
                  Algorithm a)

calculate

Map<Object,Object> calculate()
                             throws Exception
Throws:
Exception

calculate

Map<Object,Object> calculate(Matrix... input)
                             throws Exception
Throws:
Exception

calculateObjects

Map<Object,Object> calculateObjects(Object... input)
                                    throws Exception
Throws:
Exception

calculate

Map<Object,Object> calculate(double... input)
                             throws Exception
Throws:
Exception

calculate

Map<Object,Object> calculate(List<Matrix> matrices)
                             throws Exception
Throws:
Exception

calculateObjects

Map<Object,Object> calculateObjects(List<Object> matrices)
                                    throws Exception
Throws:
Exception

calculateObjects

Map<Object,Object> calculateObjects(Map<Object,Object> objects)
                                    throws Exception
Throws:
Exception

getEdgeDirection

Algorithm.EdgeDirection getEdgeDirection(Object key)

getEdgeLabel

String getEdgeLabel(Object key)

setEdgeDirection

void setEdgeDirection(Object key,
                      Algorithm.EdgeDirection direction)

setEdgeLabel

void setEdgeLabel(Object key,
                  String edgeLabel)

addVariableKey

void addVariableKey(Object key)

setVariables

void setVariables(Variable... variables)

getVariableKeys

List<Object> getVariableKeys()

getInputKeys

List<Object> getInputKeys()

getOutputKeys

List<Object> getOutputKeys()


Copyright © 2009. All Rights Reserved.