org.drools.planner.benchmark.api
Interface ProblemIO

All Known Implementing Classes:
XStreamProblemIO

public interface ProblemIO


Method Summary
 String getFileExtension()
          The file extension does not include the dot that separates it from the base name.
 Solution read(File inputSolutionFile)
           
 void write(Solution solution, File outputSolutionFile)
           
 

Method Detail

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 null
outputSolutionFile - never null, parent directory already exists


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.