예제 #1
0
        public RealSolutionTabVM(AltSolutionModel altSolutionModel, int stepCount, int solutionCount, List <OptimizationPoint> currentPath, int amount) : base(altSolutionModel, $"E_{stepCount}_{solutionCount}")
        {
            CurrentPath = currentPath;

            Sigma         = MathOperations.CalculateSigma(altSolutionModel, CurrentPath, 1, out string tempSigmaEquation);
            SigmaEquation = tempSigmaEquation;

            ApplySteppingStoneChange(amount);
        }