org.optaplanner.examples.tsp.persistence
Class TspProblemIO
java.lang.Object
org.optaplanner.examples.tsp.persistence.TspProblemIO
- All Implemented Interfaces:
- org.optaplanner.core.impl.solution.ProblemIO
public class TspProblemIO
- extends Object
- implements org.optaplanner.core.impl.solution.ProblemIO
|
Method Summary |
String |
getFileExtension()
|
org.optaplanner.core.impl.solution.Solution |
read(File inputSolutionFile)
|
void |
write(org.optaplanner.core.impl.solution.Solution solution,
File outputSolutionFile)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_EXTENSION
public static final String FILE_EXTENSION
- See Also:
- Constant Field Values
TspProblemIO
public TspProblemIO()
getFileExtension
public String getFileExtension()
- Specified by:
getFileExtension in interface org.optaplanner.core.impl.solution.ProblemIO
read
public org.optaplanner.core.impl.solution.Solution read(File inputSolutionFile)
- Specified by:
read in interface org.optaplanner.core.impl.solution.ProblemIO
write
public void write(org.optaplanner.core.impl.solution.Solution solution,
File outputSolutionFile)
- Specified by:
write in interface org.optaplanner.core.impl.solution.ProblemIO
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.