OptaPlanner distribution 6.2.1-SNAPSHOT

org.optaplanner.examples.tsp.persistence
Class TspImporter.TspInputBuilder

java.lang.Object
  extended by org.optaplanner.examples.common.app.LoggingMain
      extended by org.optaplanner.examples.common.persistence.AbstractSolutionImporter.InputBuilder
          extended by org.optaplanner.examples.common.persistence.AbstractTxtSolutionImporter.TxtInputBuilder
              extended by org.optaplanner.examples.tsp.persistence.TspImporter.TspInputBuilder
Enclosing class:
TspImporter

public static class TspImporter.TspInputBuilder
extends AbstractTxtSolutionImporter.TxtInputBuilder


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
TspImporter.TspInputBuilder()
           
 
Method Summary
 Solution readSolution()
           
 
Methods inherited from class org.optaplanner.examples.common.persistence.AbstractTxtSolutionImporter.TxtInputBuilder
factorial, getInputId, parseBooleanFromNumber, readConstantLine, readEmptyLine, readIntegerValue, readIntegerValue, readIntegerValue, readLongValue, readLongValue, readLongValue, readOptionalStringValue, readOptionalStringValue, readOptionalStringValue, readStringValue, readStringValue, readStringValue, readUntilConstantLine, removePrefixSuffixFromLine, setBufferedReader, setInputFile, splitBy, splitBy, splitByCommaAndTrim, splitByCommaAndTrim, splitByPipelineAndTrim, splitBySemicolonSeparatedValue, splitBySpace, splitBySpace, splitBySpace, splitBySpacesOrTabs, splitBySpacesOrTabs, splitBySpacesOrTabs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TspImporter.TspInputBuilder

public TspImporter.TspInputBuilder()
Method Detail

readSolution

public Solution readSolution()
                      throws IOException
Specified by:
readSolution in class AbstractTxtSolutionImporter.TxtInputBuilder
Throws:
IOException

OptaPlanner distribution 6.2.1-SNAPSHOT

Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.