Roster PrinterPrint Roster As XML(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
True if successful, false otherwise
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
)VB
Public Shared Function PrintRosterAsXML (
roster As Roster,
filePath As String,
schedulingPeriodFilePath As String,
CpuTime As String,
Algorithm As String,
FoundBy As String,
DateFound As String,
System As String,
CPU As String,
includeViolations As Boolean
) As BooleanC++
public:
static bool PrintRosterAsXML(
Roster^ roster,
String^ filePath,
String^ schedulingPeriodFilePath,
String^ CpuTime,
String^ Algorithm,
String^ FoundBy,
String^ DateFound,
String^ System,
String^ CPU,
bool includeViolations
)F#
static member PrintRosterAsXML :
roster : Roster *
filePath : string *
schedulingPeriodFilePath : string *
CpuTime : string *
Algorithm : string *
FoundBy : string *
DateFound : string *
System : string *
CPU : string *
includeViolations : bool -> bool 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
BooleanTrue if successful, false otherwise