SolutionWriterWriteSolutionAsXML Method |
Writes the solution to a file in an XML format.
Namespace:
SRS.ScheduleSolver.Tools
Assembly:
ScheduleSolver (in ScheduleSolver.dll) Version: 2.5.0+32c9446bcdf252a58ba748c312939f5bd2f367a8
Syntaxpublic static bool WriteSolutionAsXML(
Solution solution,
string filePath,
string problemFilePath
)
Public Shared Function WriteSolutionAsXML (
solution As Solution,
filePath As String,
problemFilePath As String
) As Boolean
public:
static bool WriteSolutionAsXML(
Solution^ solution,
String^ filePath,
String^ problemFilePath
)
static member WriteSolutionAsXML :
solution : Solution *
filePath : string *
problemFilePath : string -> bool
Parameters
- solution
- Type: SRS.ScheduleSolver.CoreSolution
The solution to write. - filePath
- Type: SystemString
The output file path. - problemFilePath
- Type: SystemString
The path of the problem file. If the problem file path is included
then it will include a tag in the XML which will alow the solution xml file to be opened
using RosterViewer.
Return Value
Type:
BooleanTrue if successful, false otherwise.
See Also