To download the Windows 8.x Store version of the Bing Maps Trip Optimizer source code, see Bing Maps trip optimizer sample.
In this article
Introducing Bing Maps Trip Optimizer
Bing Maps Trip Optimizer computes the shortest route among a set of locations (this classic computing problem is also known as the traveling salesman problem). The traveling salesman problem is traditionally solved by using a brute-force technique: compute each possible route among all locations and choose the shortest. This problem becomes exponentially more difficult as you increase the number of locations. Because a brute-force approach might not solve larger problems in a reasonable time, Bing Maps Trip Optimizer uses a technique known as ant colony optimization algorithm to more quickly and efficiently approximate the shortest route.
Although many Windows 8.x Store apps use a dark presentation theme to help extend battery life in mobile devices, we maintained the light presentation to more closely match the Bing Maps website. Maintaining the light theme also helps you compare the differences between the Windows 8.x Store and ActiveX versions of the app.
Visual Studio 2012
Who should read this documentation?
Improve performance or perform computationally-intensive operations.
Access Windows operating system services that are not accessible through the Windows Runtime in the current version.
Reuse existing code that's already written and tested.
What this documentation covers
The articles in this part of the documentation teach how to:
Create a C++ Windows Runtime component that performs computationally intensive operations.
Migrate code, for example, existing COM code, for use in a Windows 8.x Store app.
What this documentation doesn't cover
This documentation doesn't cover the following aspects of Windows 8.x Store app development:
Application design principles.
In-depth details about the ant colony optimization algorithm.
How to troubleshoot behavior or performance issues in your app.
How to prepare your app for use in other locales.
How to certify your app and publish it to the Windows Store.
The following resources may help you understand Windows 8.x Store app development.
Planning Windows Store apps
Provides considerations to keep in mind when you plan your Windows 8.x Store apps.
Visual C++ Language Reference (C++/CX)
Defining app resources
Describes how to define app resources to improve maintainability and localization.
Describes the steps that are required to publish an app to the Windows Store.
We recommend that you read Overview of the Bing Maps Trip Optimizer sample for information about how to load and run the project and the overall application flow. The following table describes the articles in this part of the documentation so that you can more easily refer to them.
Describes the fundamental characteristics of the Bing Maps Trip Optimizer project, for example, how it's created and structured, and how it's built.
Describes the C++ component of the Bing Maps Trip Optimizer.
Highlights some of key guidelines that we followed when we migrated from the ActiveX version of Bing Maps Trip Optimizer to a Windows 8.x Store app.