|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.sandia.cognition.framework.learning.converter.CogxelVectorCollectionConverter
public class CogxelVectorCollectionConverter
Converts a Collection of Vectors to and from a CogxelState
| Constructor Summary | |
|---|---|
CogxelVectorCollectionConverter(CogxelVectorCollectionConverter other)
Copy Constructor |
|
CogxelVectorCollectionConverter(CogxelVectorConverter... vectorConverters)
Creates a new instance of CogxelVectorCollectionConverter |
|
CogxelVectorCollectionConverter(Collection<CogxelVectorConverter> cogxelVectorConverters)
Creates a new instance of CogxelVectorCollectionConverter |
|
| Method Summary | |
|---|---|
CogxelVectorCollectionConverter |
clone()
|
ArrayList<gov.sandia.cognition.math.matrix.Vector> |
fromCogxels(CogxelState cogxels)
Converts from a CogxelState object to an object of type DataType. |
Collection<CogxelVectorConverter> |
getCogxelVectorConverters()
Getter for cogxelVectorConverters |
int |
getNumVectors()
Gets the number of Vectors that this class converts |
SemanticIdentifierMap |
getSemanticIdentifierMap()
Gets the SemanticIdentifierMap used by this converter. |
protected void |
setCogxelVectorConverters(Collection<CogxelVectorConverter> cogxelVectorConverters)
Setter for cogxelVectorConverters |
void |
setSemanticIdentifierMap(SemanticIdentifierMap semanticIdentifierMap)
Sets the SemanticIdentifierMap that the converter is to use. |
void |
toCogxels(Collection<gov.sandia.cognition.math.matrix.Vector> data,
CogxelState cogxels)
Converts from an object of type DataType to an updated CogxelState. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CogxelVectorCollectionConverter(Collection<CogxelVectorConverter> cogxelVectorConverters)
cogxelVectorConverters - Collection of CogxelVectorConverters that do the heavy liftingpublic CogxelVectorCollectionConverter(CogxelVectorConverter... vectorConverters)
vectorConverters - Array of CogxelVectorConverters that do the heavy liftingpublic CogxelVectorCollectionConverter(CogxelVectorCollectionConverter other)
other - CogxelVectorCollectionConverter to copy| Method Detail |
|---|
public CogxelVectorCollectionConverter clone()
clone in interface CogxelConverter<Collection<gov.sandia.cognition.math.matrix.Vector>>clone in interface gov.sandia.cognition.util.CloneableSerializableclone in class Objectpublic ArrayList<gov.sandia.cognition.math.matrix.Vector> fromCogxels(CogxelState cogxels)
fromCogxels in interface CogxelConverter<Collection<gov.sandia.cognition.math.matrix.Vector>>cogxels - The CogxelState to convert to DataType.
public void toCogxels(Collection<gov.sandia.cognition.math.matrix.Vector> data,
CogxelState cogxels)
toCogxels in interface CogxelConverter<Collection<gov.sandia.cognition.math.matrix.Vector>>data - The object to convert into the CogxelState.cogxels - The CogxelState to update with the converted data.public SemanticIdentifierMap getSemanticIdentifierMap()
getSemanticIdentifierMap in interface CogxelConverter<Collection<gov.sandia.cognition.math.matrix.Vector>>public void setSemanticIdentifierMap(SemanticIdentifierMap semanticIdentifierMap)
setSemanticIdentifierMap in interface CogxelConverter<Collection<gov.sandia.cognition.math.matrix.Vector>>semanticIdentifierMap - The SemanticIdentifierMap the converter is
to use.public int getNumVectors()
public Collection<CogxelVectorConverter> getCogxelVectorConverters()
protected void setCogxelVectorConverters(Collection<CogxelVectorConverter> cogxelVectorConverters)
cogxelVectorConverters - Collection of CogxelVectorConverters that do the heavy lifting
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||