Class TspImporter.TspInputBuilder
- java.lang.Object
-
- org.optaplanner.examples.common.app.LoggingMain
-
- org.optaplanner.examples.common.persistence.AbstractSolutionImporter.InputBuilder
-
- org.optaplanner.examples.common.persistence.AbstractTxtSolutionImporter.TxtInputBuilder<TspSolution>
-
- org.optaplanner.examples.tsp.persistence.TspImporter.TspInputBuilder
-
- Enclosing class:
- TspImporter
public static class TspImporter.TspInputBuilder extends AbstractTxtSolutionImporter.TxtInputBuilder<TspSolution>
-
-
Field Summary
-
Fields inherited from class org.optaplanner.examples.common.persistence.AbstractTxtSolutionImporter.TxtInputBuilder
bufferedReader, inputFile
-
Fields inherited from class org.optaplanner.examples.common.app.LoggingMain
logger
-
-
Constructor Summary
Constructors Constructor Description TspInputBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TspSolutionreadSolution()-
Methods inherited from class org.optaplanner.examples.common.persistence.AbstractTxtSolutionImporter.TxtInputBuilder
getInputId, parseBooleanFromNumber, readConstantLine, readConstantLine, readEmptyLine, readIntegerValue, readIntegerValue, readIntegerValue, readLongValue, readLongValue, readLongValue, readOptionalConstantLine, readOptionalStringValue, readOptionalStringValue, readOptionalStringValue, readStringValue, readStringValue, readStringValue, readUntilConstantLine, removePrefixSuffixFromLine, setBufferedReader, setInputFile, skipOptionalConstantLines, splitBy, splitBy, splitByCommaAndTrim, splitByCommaAndTrim, splitByPipelineAndTrim, splitBySemicolonSeparatedValue, splitBySemicolonSeparatedValue, splitBySpace, splitBySpace, splitBySpace, splitBySpace, splitBySpacesOrTabs, splitBySpacesOrTabs, splitBySpacesOrTabs
-
-
-
-
Method Detail
-
readSolution
public TspSolution readSolution() throws IOException
- Specified by:
readSolutionin classAbstractTxtSolutionImporter.TxtInputBuilder<TspSolution>- Throws:
IOException
-
-