Final Version Olex Ponomarenko. Goals for the Project Create a fairly abstract map path-finding program Add more complex heuristics to account for things.

Slides:



Advertisements
Similar presentations
Speed, Velocity and Acceleration
Advertisements

Heuristic Search techniques
Problem solving with graph search
Signs, Signals, and Roadway Markings
Traffic Signs, Emblems and Signals
Balanced and Unbalanced Forces Review What happens to the motion of an object when the forces are balanced? a.The motion changes. b.The motion does not.
Motion.  Motion: The change in position of an object as compared with a reference point  Reference point: System of objects that are not moving (stationary)
Unit 2 Learning the Basics
Chapter 5 Signs, Signals, and Roadway Markings
Chapter 1 Lecture Kinematics: Motion in One Dimension Week 2 Day 1 © 2014 Pearson Education, Inc.
Chapter 7 Negotiating Intersections
NEGOTIATING INTERSECTIONS CHAPTER 10
Signs, Signals, and Roadway Markings
Signs, Signals and Roadway Markings
Delaware State Driver’s Education Study Guide. Drivers have trouble seeing motorcycles in traffic. Why?
Chapter 5 Signs, Signals, and Markings
Signs, Signals, and Pavement Markings
OBJECTIVES  We will define driver information processing and apply processing principles to determine roadway position, establish vehicle speed, and communicate.
Transportation Tuesday TRANSPORTATION TUESDAY DO YOU KNOW WHAT THOSE WHITE LINES ARE FOR? PASSENGER : NO SIR, THE BRITISH LEFT THEM HERE. TAXI DRIVER :
Chapter 9 Driving in Urban Traffic
Acceleration Part 3 – World Winning Rube. Review In previous learning we have looked at the differences how objects can move: Speed vs. Velocity However,
Ch. 16 Driving on Highways.
Part one: Strategies/Tactics and Rules of the Road
Expressway Driving. Characteristics of Expressway Driving Roadway Speed Interchanges No cross traffic Median Tollbooths Entrance/exit ramps Limited access.
Chocolate Bar! luqili. Milestone 3 Speed 11% of final mark 7%: path quality and speed –Some cleverness required for full marks –Implement some A* techniques.
Chapter 11. Expressways What is a "controlled access" highway? One that has a limited access where you can only enter & leave at interchanges.
Roadway markings - where you can go and what you can do Designates lanes Directs traffic Warns of hazards Signals permission to pass Office 2010 Presentation.
Driving in Rural Areas Chapter 10.
CSE332: Data Abstractions Lecture 8: Memory Hierarchy Tyler Robison Summer
Artificial Intelligence in Game Design Dynamic Path Planning Algorithms.
Signs, Signals, and Roadway Markings
Driver’s Education Chapter 7 Negotiating Intersections 12/11/12 What do you think the difference is between a controlled and uncontrolled intersection?
Right-of-Way Who Goes First?.
This Slide Show is to review the basic colors of signs. Click to advance the show This show is strictly on colors. Do not rely on shapes.
How to create a Scientific poster for the Group 4 presentation.
SNU OOPSLA Lab. 1 Great Ideas of CS with Java Part 1 WWW & Computer programming in the language Java Ch 1: The World Wide Web Ch 2: Watch out: Here comes.
Intersections.
 SIGN, SIGNALS, & ROADWAY MARKINGS Do Now - Create a list with as many different road signs you are able to think of. What does each sign tell you? Classify.
 In this packet we will look at:  The meaning of acceleration  How acceleration is related to velocity and time  2 distinct types acceleration  A.
Traffic Light Simulation Lynn Jepsen. Introduction and Background Try and find the most efficient way to move cars through an intersection at different.
ROADWAY MARKINGS A roadway marking gives a warning or direction. Roadway markings are usually lines, words, or symbols painted on the roadway. Some markings.
Right of Way.
A stop sign is a traffic sign that stands for coming to a complete stop at an intersection or end of the road.
Modeling of Optimized Traffic Patterns Using GPS and Wireless Communications Between Traffic Lights and Vehicles Bryan Ward 11/3/06.
Negotiating Intersections Chapter 10. Intersections Tips for Identifying an Intersection o Street lights and signs. o Roadway markings, such as a stop.
Efficient Map Path Finding with Realistic Conditions Third Quarter Version Olex Ponomarenko.
Partial lesson 18 of 64 slides Other City/Suburban Strategies and Rules of the Road.
Module 5 Terena Wibecka Lauren Megan Block 1X. Processing Information 1.A driver needs visibility, space, and time to safely operate a vehicle. 2.A vehicle.
Signs, Signals, and Roadway Markings Driver’s Education.
 Every sign’s shape and color have special meaning  Regulatory Signs: Signs that set limits, or give commands.  Example: stop sign, Yield, One Way,
Rules of the Road. I. Traffic Lights – must be obeyed unless a police officer directs otherwise.
Velocity and Acceleration. Motion What is motion? –A change in the position of an object over time. How do you know something has moved? –You use a reference.
Efficient Graph Traversal with Realistic Conditions by Olex Ponomarenko st Quarter Draft----
Spot Speed Study Lab 2 Instructor:
Information Processing:
Driving in City Traffic
lesson 10.1 SEARCHING INTERSECTIONS
Signs, Signals, and Roadway Markings Driver’s Education
Solving the Vehicle Routing Problem with Multiple Multi-Capacity Vehicles Michael Sanders.
Sample slides from the Drivers Edge USA curriculum
In the following slides, you will see
Traffic Light Simulation
Information Processing:
Milestone 3: Finding Routes
Traffic Light Simulation
Traffic Light Simulation
Efficient Graph Traversal with Realistic Conditions
Motion.
lesson 10.2 DETERMINING RIGHT OF WAY AND JUDGING GAPS
CSE 332: Data Abstractions Memory Hierarchy
Presentation transcript:

Final Version Olex Ponomarenko

Goals for the Project Create a fairly abstract map path-finding program Add more complex heuristics to account for things such as traffic lights, stop signs, and different amounts of roads Create a random graph generator Create a visual representation, perhaps using Java, to display the map

Goals (but in one sentence) Basically the idea is to create a method of searching for a path on an abstract map that would lead to simpler, more realistic results, and avoid passing through generally slow turns and intersections. (stop sign left turns onto a big street like Fairfax County Parkway, etc, are less likely to be used)

Specifics The language used will be Python for the speed and ease of coding that it provides Java will be used to create the visual, as Java graphics are easy to work with. The maps and searches will be realistic, and the program overall will be as efficient as it can be, allowing large-scale data sets

DEVELOPMENT

First Quarter A very basic version of the program was developed Built upon the path finding program in the AI course Text-only, basic coordinates, only one type of roads, and most importantly, no intersections.

First-Second Quarter To give you an idea of what the program did (since input / output are all just text) Only one type of road (no difference whether it’s a small driveway or I-95) represented One type of location No guarantee of mutually- connected locations Doesn’t account for delay or turns at intersections

Different road sizes No overlapping locations (none within 10 units of space between each other), all locations connected. BUT – Still no intersections Mostly random roads (note the only path to get to the purple one and the random 5-foot long interstate highway) Second Quarter The RGG at this point was somewhat random – the following being a good example of the type of map it produces:

Current Generator This is what the final version does: Realistic road structure – coherent highways, not as spastic in terms of road placement Intersections – A is a bridge with no exits, drivers on the small road (black) cannot get onto the interstate highway (red) ; at point B, drivers on the green (sort-of like Braddock) pass freely, but drivers on the small road have to go through a stop sign – meaning different wait times based on which road you’re moving on, and what turn you’re taking (left = slower, etc)

Other Features Scalability – highest order function is O(n 2 ) (finding the intersections between roads) – the program can generate maps up to 800x800 maps with 700+ locations within a minute. 200 x 200 map, 199 locs, 8 seconds to generate

750 x 750 map, 694 locs, 38 seconds to generate

Other Features (cont.) Dynamic Point Costs – aka. Realistic intersections. Simplification: Fast Highway Medium Road Both roads travel fast through the intersection, as it is a system of exits. No delay. Equal roads have an equal delay to pass (traffic light) Right turns 2x faster, Left turns 3x slower. If all-way stop sign (right), all turns are equal delay. Stop sign for the smaller road, no delay for the larger road Small Road

Other Features (cont.) Color-Coding – Different-sized roads have different colors. White -> Black on prior pictures, here’s a rainbow one.

Results The “control” was a more basic version of my program, as such: –Intersections considered instantaneous –Cost to go from location to location = distance times speed limit of the road. –Basic A* heuristic

Results (cont.) I ran 100 tests with the same random map (different each time) to go from a random place to a random other place. Each pixel ~ 125 feet 1 mile = 42 pixels Distance Between Points (in Pixels) % of searches improved <501% % % % 301+5%

Conclusion With all the added complexity (>50% slower searching and calculation), it is no wonder that commercial map searching programs don’t use point costs. The improvement (up to 10% faster paths in very rare, short-distance cases) is not very useful, since at short distances the difference in travel times is usually less than a single minute

The Big Picture My project is very expandable. Probably the best next step would be to add a learning heuristic, which will alter the heuristic based on results, in order to find the shortest path in the quickest way possible and make the search more efficient. This could improve the results to the point of usefulness; however, I believe that is unlikely.