Fix format in examples/dotnet

This commit is contained in:
Corentin Le Molgat
2021-08-23 13:24:53 +02:00
parent 4eb338fc57
commit 052041e244
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
if(NOT BUILD_DOTNET_EXAMPLES)
return()
return()
endif()
file(GLOB DOTNET_SRCS "*.cs")

View File

@@ -128,7 +128,7 @@ public class NetworkRoutingSat
}
}
private static(bool IsSet, string Value) getArgValue(string[] args, string arg)
private static (bool IsSet, string Value) getArgValue(string[] args, string arg)
{
string lookup = $"--{arg}=";

View File

@@ -380,7 +380,7 @@ public class ShiftSchedulingSat
/// base name for penalty literals.</param> <returns>A tuple (costLiterals,
/// costCoefficients) containing the different penalties created by the
/// sequence constraint.</returns>
static(IntVar[] costLiterals, int[] costCoefficients)
static (IntVar[] costLiterals, int[] costCoefficients)
AddSoftSequenceConstraint(CpModel model, IntVar[] works, int hardMin, int softMin, int minCost, int softMax,
int hardMax, int maxCost, string prefix)
{
@@ -473,7 +473,7 @@ public class ShiftSchedulingSat
/// base name for penalty literals.</param> <returns>A tuple (costVariables,
/// costCoefficients) containing the different penalties created by the
/// sequence constraint.</returns>
static(IntVar[] costVariables, int[] costCoefficients)
static (IntVar[] costVariables, int[] costCoefficients)
AddSoftSumConstraint(CpModel model, IntVar[] works, int hardMin, int softMin, int minCost, int softMax,
int hardMax, int maxCost, string prefix)
{