Class TravelingTournamentImporter.TravelingTournamentInputBuilder
java.lang.Object
org.optaplanner.examples.common.app.LoggingMain
org.optaplanner.examples.common.persistence.AbstractSolutionImporter.InputBuilder
org.optaplanner.examples.common.persistence.AbstractTxtSolutionImporter.TxtInputBuilder<TravelingTournament>
org.optaplanner.examples.travelingtournament.persistence.TravelingTournamentImporter.TravelingTournamentInputBuilder
- Enclosing class:
- TravelingTournamentImporter
public static class TravelingTournamentImporter.TravelingTournamentInputBuilder
extends AbstractTxtSolutionImporter.TxtInputBuilder<TravelingTournament>
-
Field Summary
Fields inherited from class org.optaplanner.examples.common.persistence.AbstractTxtSolutionImporter.TxtInputBuilder
bufferedReader, inputFileFields inherited from class org.optaplanner.examples.common.app.LoggingMain
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinitializeMatchDays(TravelingTournament travelingTournament) Canonical pattern initialization (see papers).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
-
Constructor Details
-
TravelingTournamentInputBuilder
public TravelingTournamentInputBuilder()
-
-
Method Details
-
readSolution
- Specified by:
readSolutionin classAbstractTxtSolutionImporter.TxtInputBuilder<TravelingTournament>- Throws:
IOException
-
initializeMatchDays
Canonical pattern initialization (see papers).- Parameters:
travelingTournament- the traveling tournament
-