public interface IStratiFileAssigner
| Modifier and Type | Method and Description |
|---|---|
void |
assignDatapoint(java.lang.String datapoint)
Select the suitable stratum for a datapoint and write it into the
corresponding temporary file.
|
java.util.Map<java.lang.String,java.lang.Integer> |
getAllCreatedStrati()
Get the used strati temporary files and the amount of datapoints inside of
it.
|
void |
setArffHeader(java.lang.String arffHeader)
Set the header of the original ARFF input file.
|
void |
setTempFileHandler(ai.libs.jaicore.basic.TempFileHandler tempFileHandler)
Set the temporary file handler, which will be used to manage the temporary
files for the strati.
|
void setTempFileHandler(ai.libs.jaicore.basic.TempFileHandler tempFileHandler)
tempFileHandler - Temporary File Handler to manage the files.void setArffHeader(java.lang.String arffHeader)
arffHeader - ARFF header lines as a string.void assignDatapoint(java.lang.String datapoint)
throws ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmException
datapoint - String representation of the datapoint taken from the input
file.ai.libs.jaicore.basic.algorithm.exceptions.AlgorithmException - The datapoint representation was invalid or it
could not be assigned to a stratum.java.util.Map<java.lang.String,java.lang.Integer> getAllCreatedStrati()