コード例 #1
0
 private ILPTask Clone()
 {
     return(new ILPTask
     {
         OptimizeType = OptimizeType,
         VariablesCount = VariablesCount,
         RestrictionsCount = RestrictionsCount,
         InfoVariablesCount = InfoVariablesCount,
         Coefficients = Coefficients.Clone() as float[],
         Restrictions = Restrictions.Clone() as float[, ],
         StartBasis = StartBasis.Clone() as int[],
         SimplexTable = SimplexTable.Clone() as float[, ],
         OptimizationResult = OptimizationResult,
         M = M
     });
 }
コード例 #2
0
 public FiniteField Clone()
 {
     return(new FiniteField((byte[])Coefficients.Clone()));
 }