org.jdmp.core.algorithm.index
Class AbstractIndex
- java.lang.Object
-
- org.jdmp.core.AbstractCoreObject
-
- org.jdmp.core.algorithm.AbstractAlgorithm
-
- org.jdmp.core.algorithm.index.AbstractIndex
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Algorithm, HasAlgorithmMap, Index, HasDataSetMap, HasVariableMap, Clearable, CoreObject, HasDescription, HasGUIObject, HasId, HasLabel
- Direct Known Subclasses:
- MultiIndex
public abstract class AbstractIndex extends AbstractAlgorithm implements Index
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jdmp.core.algorithm.Algorithm
Algorithm.EdgeDirection
-
-
Field Summary
-
Fields inherited from interface org.jdmp.core.algorithm.Algorithm
ALGORITHMARRAY, COMPRESSED, DECOMPRESSED, DIFFERENCE, DIMENSION, HASH, IGNORENAN, INPUT, PREDICTED, RMSE, SOURCE, TARGET, WEIGHT
-
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
-
Constructor Summary
Constructors Constructor and Description AbstractIndex()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd(ListDataSet dataSet)voidadd(java.util.Map<java.lang.String,java.lang.String> map)voidadd(MapMatrix<java.lang.String,java.lang.String> mapMatrix)voidadd(Matrix matrix)intcountResults(java.lang.String query)ListDataSetsearch(java.lang.String query)ListDataSetsearch(java.lang.String query, int count)-
Methods inherited from class org.jdmp.core.algorithm.AbstractAlgorithm
addVariableKey, calculate, calculate, calculate, calculate, calculateObjects, calculateObjects, calculateObjects, clear, getAlgorithmMap, getDataSetMap, getDescription, getEdgeDirection, getEdgeLabel, getId, getInputKeys, getLabel, getLabelObject, getOutputKeys, getVariableKeys, getVariableMap, setAlgorithm, setDescription, setEdgeDirection, setEdgeLabel, setId, setLabel, setVariable, setVariables, toString
-
Methods inherited from class org.jdmp.core.AbstractCoreObject
clone, fireValueChanged, getCoreObjectId, getGUIObject, showGUI
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.jdmp.core.algorithm.index.Index
add, getSample, getSize, search
-
Methods inherited from interface org.ujmp.core.interfaces.CoreObject
clone, getCoreObjectId
-
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
fireValueChanged, getGUIObject, showGUI
-
-
-
-
Method Detail
-
add
public void add(Matrix matrix) throws java.lang.Exception
-
add
public void add(java.util.Map<java.lang.String,java.lang.String> map) throws java.lang.Exception
-
add
public void add(MapMatrix<java.lang.String,java.lang.String> mapMatrix) throws java.lang.Exception
-
add
public void add(ListDataSet dataSet) throws java.lang.Exception
-
search
public final ListDataSet search(java.lang.String query) throws java.lang.Exception
-
search
public final ListDataSet search(java.lang.String query, int count) throws java.lang.Exception
-
countResults
public int countResults(java.lang.String query) throws java.lang.Exception- Specified by:
countResultsin interfaceIndex- Throws:
java.lang.Exception
-
-
DataMelt 3.0 © DataMelt by jWork.ORG