Class VehicleRoutingImporter.VehicleRoutingInputBuilder
- java.lang.Object
-
- org.optaplanner.examples.common.app.LoggingMain
-
- org.optaplanner.examples.common.persistence.AbstractSolutionImporter.InputBuilder
-
- org.optaplanner.examples.common.persistence.AbstractTxtSolutionImporter.TxtInputBuilder<VehicleRoutingSolution>
-
- org.optaplanner.examples.vehiclerouting.persistence.VehicleRoutingImporter.VehicleRoutingInputBuilder
-
- Enclosing class:
- VehicleRoutingImporter
public static class VehicleRoutingImporter.VehicleRoutingInputBuilder extends AbstractTxtSolutionImporter.TxtInputBuilder<VehicleRoutingSolution>
-
-
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 VehicleRoutingInputBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadCourseraFormat()VehicleRoutingSolutionreadSolution()voidreadTimeWindowedFormat()voidreadVrpWebFormat()-
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 VehicleRoutingSolution readSolution() throws IOException
- Specified by:
readSolutionin classAbstractTxtSolutionImporter.TxtInputBuilder<VehicleRoutingSolution>- Throws:
IOException
-
readVrpWebFormat
public void readVrpWebFormat() throws IOException- Throws:
IOException
-
readCourseraFormat
public void readCourseraFormat() throws IOException- Throws:
IOException
-
readTimeWindowedFormat
public void readTimeWindowedFormat() throws IOException- Throws:
IOException
-
-