org.drools.planner.benchmark.api
Interface ProblemIO
- All Known Implementing Classes:
- XStreamProblemIO
public interface ProblemIO
getFileExtension
String getFileExtension()
- The file extension does not include the dot that separates it from the base name.
- Returns:
- never null, for example "xml"
read
Solution read(File inputSolutionFile)
- Parameters:
inputSolutionFile
- never null
- Returns:
- never null
write
void write(Solution solution,
File outputSolutionFile)
- Parameters:
solution
- never nulloutputSolutionFile
- never null, parent directory already exists
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.