/// <summary> /// Constructor /// Defines a link between a specific RndfWaypoint and Total Time until the next Goal. /// COntains specific information about actions at the action RndfWaypoint /// </summary> /// <param name="actionPoint">Waypoint at which vehicle exits the Segment or alternatively where vehicle needs to pass over goal</param> /// <param name="timeToAction">Time to get to action point</param> /// <param name="routeTime">Total route time to goal if go through this action point</param> /// <param name="continuation">If we decide to continue on road after action point, this is route time to goal</param> public LocalRoute(RndfWaypointID actionPoint, double timeToAction, double routeTime, LocalOption continuation) { this.actionPoint = actionPoint; this.timeToAction = timeToAction; this.routeTime = routeTime; this.continuation = continuation; }
/// <summary> /// Constructor /// </summary> /// <param name="goalPoint">Waypoint at which vehicle needs to pass over goal</param> /// <param name="timeToAction">Time to get to goal</param> /// <param name="routeTime">Total route time to goal if go through this action point</param> /// <param name="continuation">If we decide to continue on road after action point, this is route time to goal</param> /// <param name="goal">goal the rndf waypoint represents</param> public GoalLocalRoute(RndfWaypointID goalPoint, double timeToAction, double routeTime, LocalOption continuation, Goal goal) : base(goalPoint, timeToAction, routeTime, continuation) { this.goal = goal; }
/// <summary> /// Constructor /// Defines a link between a specific RndfWaypoint and Total Time until the next Goal. /// COntains specific information about actions at the action RndfWaypoint /// </summary> /// <param name="actionPoint">Waypoint at which vehicle exits the Segment or alternatively where vehicle needs to pass over goal</param> /// <param name="timeToAction">Time to get to action point</param> /// <param name="routeTime">Total route time to goal if go through this action point</param> /// <param name="continuation">If we decide to continue on road after action point, this is route time to goal</param> public ExitLocalRoute(RndfWaypointID actionPoint, double timeToAction, double routeTime, LocalOption continuation, List <RndfWayPoint> nodes) : base(actionPoint, timeToAction, routeTime, continuation) { this.exits = new List <LocalOption>(); this.nodes = nodes; }