RosterPrinterPrintRosterAsXML Method (Roster, String, String, String, String, String, String, String, String, Boolean) |
Writes the solution to a file in an XML format.
Namespace:
ASAP.NRP.Core.Tools
Assembly:
NRP (in NRP.dll) Version: 3.49.0+539d3dcf73518163e952c8abb92256bf56ba5029
Syntaxpublic static bool PrintRosterAsXML(
Roster roster,
string filePath,
string schedulingPeriodFilePath,
string CpuTime,
string Algorithm,
string FoundBy,
string DateFound,
string System,
string CPU,
bool includeViolations
)
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 Boolean
public:
static bool PrintRosterAsXML(
Roster^ roster,
String^ filePath,
String^ schedulingPeriodFilePath,
String^ CpuTime,
String^ Algorithm,
String^ FoundBy,
String^ DateFound,
String^ System,
String^ CPU,
bool includeViolations
)
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
- Type: ASAP.NRP.CoreRoster
The solution to write. - filePath
- Type: SystemString
The output file path. - schedulingPeriodFilePath
- Type: SystemString
The path of the problem file. - CpuTime
- Type: SystemString
The time taken to find the solution. - Algorithm
- Type: SystemString
The name of the algorithm used to find the solution. - FoundBy
- Type: SystemString
The person who found the solution. - DateFound
- Type: SystemString
The date the solution was found. - System
- Type: SystemString
The machine specification the algorithm was run on. - CPU
- Type: SystemString
CPU details - includeViolations
- Type: SystemBoolean
Includes the XML violation tags if true.
Return Value
Type:
BooleanTrue if successful, false otherwise
See Also