|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemplateVector
The template vector provides the attribute structure of the input vectors used for the training process of a Self-Organizing Map. It is usually written by a parser or vector generator program creating the vector structure.
Field Summary | |
---|---|
static java.lang.String |
templateFileNameSuffix
|
Method Summary | |
---|---|
boolean |
containsLabel(java.lang.String label)
tests whether there is a feature/attribute with the given label |
int |
dim()
Gets the dimension. |
TemplateVectorElement |
getElement(int index)
returns the template vector element for the feature/attribute at the given position |
int |
getIndexOfFeature(java.lang.String label)
Returns the numerical index of the feature with the given name. |
java.lang.String |
getLabel(int i)
Gets the label at the given index. |
java.lang.String[] |
getLabels()
Gets all the labels defined in this template vector. |
java.util.ArrayList<java.lang.String> |
getLabelsAsList()
Gets all the labels defined in this template vector as a list. |
int |
getLongestStringLength()
calculates the length of the longest feature/attribute label |
void |
incNumVectors(int numVectors)
Increase the num-vectors counter, used e.g. |
int |
numinfo()
Returns how many columns the template vector contains, i.e. |
int |
numVectors()
Return how many vectors are in the input vector file associated with this template vector |
Field Detail |
---|
static final java.lang.String templateFileNameSuffix
Method Detail |
---|
int dim()
java.lang.String getLabel(int i)
java.lang.String[] getLabels()
java.util.ArrayList<java.lang.String> getLabelsAsList()
boolean containsLabel(java.lang.String label)
int getIndexOfFeature(java.lang.String label)
int numVectors()
int numinfo()
TemplateVectorElement getElement(int index)
int getLongestStringLength()
void incNumVectors(int numVectors)
SOMLibInputMerger
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |