public override bool IsAllowedMovement(IntraMove m)
 {
     return(AlphaWeakFeasibility(m.current) <= WeakThreshold);
 }
Beispiel #2
0
        //public double AlphaStrongFeasibility(Route current)
        //{
        //    double overload = ProblemData.StrongOverLoad(current);
        //    if (overload <= current.Vehicle.Capacity) return 0;
        //    return (overload - current.Vehicle.Capacity) / current.Vehicle.Capacity;
        //}

        public override bool IsAllowedMovement(IntraMove m)
        {
            return(ProblemData.StrongIntraReplaceOverload(m.current, m.orIndex, m.deIndex) <= epsilon);
        }
 public override bool IsAllowedMovement(IntraMove m)
 {
     return(ProblemData.IsFeasible(m.current));
 }