org.jdmp.core.algorithm.index
Class MultiIndex
- java.lang.Object
-
- org.jdmp.core.AbstractCoreObject
-
- org.jdmp.core.algorithm.AbstractAlgorithm
-
- org.jdmp.core.algorithm.index.AbstractIndex
-
- org.jdmp.core.algorithm.index.MultiIndex
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, Algorithm, HasAlgorithmMap, Index, SimilaritySearcher, HasDataSetMap, HasVariableMap, Clearable, CoreObject, HasDescription, HasGUIObject, HasId, HasLabel
public class MultiIndex extends AbstractIndex implements SimilaritySearcher
- 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 MultiIndex(Index... indices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidadd(Sample sample)SamplegetSample(java.lang.String id)ObservableMap<Sample>getSampleMap()intgetSize()ListDataSetsearch(java.lang.String query, int start, int count)ListDataSetsearchSimilar(Sample sample)ListDataSetsearchSimilar(Sample sample, int count)ListDataSetsearchSimilar(Sample sample, int start, int count)voidsetSamples(ObservableMap<Sample> samples)-
Methods inherited from class org.jdmp.core.algorithm.index.AbstractIndex
add, add, add, add, countResults, search, search
-
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.ujmp.core.interfaces.CoreObject
clone, getCoreObjectId
-
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
fireValueChanged, getGUIObject, showGUI
-
-
-
-
Constructor Detail
-
MultiIndex
public MultiIndex(Index... indices)
-
-
Method Detail
-
add
public void add(Sample sample) throws java.lang.Exception
-
search
public ListDataSet search(java.lang.String query, int start, int count) throws java.lang.Exception
-
searchSimilar
public ListDataSet searchSimilar(Sample sample, int start, int count) throws java.lang.Exception
- Specified by:
searchSimilarin interfaceSimilaritySearcher- Throws:
java.lang.Exception
-
getSample
public Sample getSample(java.lang.String id) throws java.lang.Exception
-
searchSimilar
public final ListDataSet searchSimilar(Sample sample) throws java.lang.Exception
- Specified by:
searchSimilarin interfaceSimilaritySearcher- Throws:
java.lang.Exception
-
searchSimilar
public final ListDataSet searchSimilar(Sample sample, int count) throws java.lang.Exception
- Specified by:
searchSimilarin interfaceSimilaritySearcher- Throws:
java.lang.Exception
-
getSampleMap
public ObservableMap<Sample> getSampleMap()
-
setSamples
public void setSamples(ObservableMap<Sample> samples)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG