Package net.maswag.falcaun
Class OutputMapperReader
java.lang.Object
net.maswag.falcaun.AbstractMapperReader
net.maswag.falcaun.OutputMapperReader
Deprecated.
A class for reading and parsing output mapper data from files.
outputMapper is a list of mappings from an abstract alphabet character to the concrete value.
largest is a list of abstract alphabet chars representing a larger concrete value
than any of the given concrete values.
After construction, call parse() to initialize the mappings
and then outputMapper and largest will be available.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final OutputMapperDeprecated.Deprecated.List of characters representing a larger value than any of the concrete values.Deprecated.The output mapper, a list of mappings from an abstract alphabet character to its corresponding concrete value.Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionOutputMapperReader(String filename) Deprecated.UseOutputMapper(String)instead.OutputMapperReader(List<List<Double>> data) Deprecated.UseOutputMapper(List)instead. -
Method Summary
Modifier and TypeMethodDescriptionvoidparse()Deprecated.You do not need to call this method directly anymore.Methods inherited from class net.maswag.falcaun.AbstractMapperReader
assignCharacters, rawParse
-
Field Details
-
parsedData
Deprecated. -
largest
Deprecated.List of characters representing a larger value than any of the concrete values. For example, given the concrete values [1.0, 2.0, 3.0], the character inlargestrepresents a value in range (3.0, +inf) -
outputMapper
Deprecated.The output mapper, a list of mappings from an abstract alphabet character to its corresponding concrete value. -
delegate
Deprecated.
-
-
Constructor Details
-
OutputMapperReader
Deprecated.UseOutputMapper(String)instead.Constructor for OutputMapperReader.
- Parameters:
filename- The name of the file to read.- Throws:
IOException- if an error occurs while reading the file.
-
OutputMapperReader
Deprecated.UseOutputMapper(List)instead.Constructor for OutputMapperReader from data.
- Parameters:
data- aListobject containing the parsed data.
-
-
Method Details
-
parse
Deprecated.You do not need to call this method directly anymore.Constructs the output mapperoutputMapperandlargestfrom the given concrete value lists. This method assigns characters to the concrete values and determines the largest character for each output dimension. When the instance is constructed by filename, this method reads and parses the specified file, then constructs them from the parsed data.
-
OutputMapperinstead. This class will be removed in a future release. It now uses OutputMapper internally for backward compatibility.