RosterPrinterPrintRosterAsXML(Roster, String, String, String, String, String, String, String, String, Boolean) Method

Writes the solution to a file in an XML format.

Definition

Namespace: ASAP.NRP.Core.Tools
Assembly: NRP (in NRP.dll) Version: 3.49.0+964b2dfb493dfda37da83e5373992cb1cc934e98
C#
public static bool PrintRosterAsXML(
	Roster roster,
	string filePath,
	string schedulingPeriodFilePath,
	string CpuTime,
	string Algorithm,
	string FoundBy,
	string DateFound,
	string System,
	string CPU,
	bool includeViolations
)

Parameters

roster  Roster
The solution to write.
filePath  String
The output file path.
schedulingPeriodFilePath  String
The path of the problem file.
CpuTime  String
The time taken to find the solution.
Algorithm  String
The name of the algorithm used to find the solution.
FoundBy  String
The person who found the solution.
DateFound  String
The date the solution was found.
System  String
The machine specification the algorithm was run on.
CPU  String
CPU details
includeViolations  Boolean
Includes the XML violation tags if true.

Return Value

Boolean
True if successful, false otherwise

See Also