public override int GetHashCode() { int hash = 1; if (PathResolution != 0D) { hash ^= PathResolution.GetHashCode(); } if (QpDeltaS != 0D) { hash ^= QpDeltaS.GetHashCode(); } if (MinLookAheadTime != 0D) { hash ^= MinLookAheadTime.GetHashCode(); } if (MinLookAheadDistance != 0D) { hash ^= MinLookAheadDistance.GetHashCode(); } if (LateralBuffer != 0D) { hash ^= LateralBuffer.GetHashCode(); } if (PathOutputResolution != 0D) { hash ^= PathOutputResolution.GetHashCode(); } if (LWeight != 0D) { hash ^= LWeight.GetHashCode(); } if (DlWeight != 0D) { hash ^= DlWeight.GetHashCode(); } if (DdlWeight != 0D) { hash ^= DdlWeight.GetHashCode(); } if (DddlWeight != 0D) { hash ^= DddlWeight.GetHashCode(); } if (GuidingLineWeight != 0D) { hash ^= GuidingLineWeight.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (TotalPathLength != 0D) { hash ^= TotalPathLength.GetHashCode(); } if (PathResolution != 0D) { hash ^= PathResolution.GetHashCode(); } if (MaxDddl != 0D) { hash ^= MaxDddl.GetHashCode(); } if (LWeight != 0D) { hash ^= LWeight.GetHashCode(); } if (DlWeight != 0D) { hash ^= DlWeight.GetHashCode(); } if (DdlWeight != 0D) { hash ^= DdlWeight.GetHashCode(); } if (DddlWeight != 0D) { hash ^= DddlWeight.GetHashCode(); } if (GuidingLineWeight != 0D) { hash ^= GuidingLineWeight.GetHashCode(); } return(hash); }
/// <summary> /// Registra uma transformação de url /// </summary> /// <param name="resolver">A função de resolução de caminho</param> public static void RegisterPathResolver(PathResolution resolver) { PathResolvers += resolver; }
public PathResolutionVM(PathResolution model) { this.model = model; replacePathCommand = new RelayCommand(o => ReplacePath()); }
public override int GetHashCode() { int hash = 1; if (waypointSamplerConfig_ != null) { hash ^= WaypointSamplerConfig.GetHashCode(); } if (EvalTimeInterval != 0D) { hash ^= EvalTimeInterval.GetHashCode(); } if (PathResolution != 0D) { hash ^= PathResolution.GetHashCode(); } if (ObstacleIgnoreDistance != 0D) { hash ^= ObstacleIgnoreDistance.GetHashCode(); } if (ObstacleCollisionDistance != 0D) { hash ^= ObstacleCollisionDistance.GetHashCode(); } if (ObstacleRiskDistance != 0D) { hash ^= ObstacleRiskDistance.GetHashCode(); } if (ObstacleCollisionCost != 0D) { hash ^= ObstacleCollisionCost.GetHashCode(); } if (PathLCost != 0D) { hash ^= PathLCost.GetHashCode(); } if (PathDlCost != 0D) { hash ^= PathDlCost.GetHashCode(); } if (PathDdlCost != 0D) { hash ^= PathDdlCost.GetHashCode(); } if (PathLCostParamL0 != 0D) { hash ^= PathLCostParamL0.GetHashCode(); } if (PathLCostParamB != 0D) { hash ^= PathLCostParamB.GetHashCode(); } if (PathLCostParamK != 0D) { hash ^= PathLCostParamK.GetHashCode(); } if (PathOutLaneCost != 0D) { hash ^= PathOutLaneCost.GetHashCode(); } if (PathEndLCost != 0D) { hash ^= PathEndLCost.GetHashCode(); } return(hash); }