Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3280042
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:39:37+00:00 2026-05-17T19:39:37+00:00

Given a set of points in the 2D Euclidean plane: P={V 1 ,V 2

  • 0

Given a set of points in the 2D Euclidean plane: P={V1,V2,..,Vn}, and we assume that there are K different types of points:T1,T2,..,TK, every point Vi in P belongs to exactly one of the K types.

Definition of KTSP tour:
Given an arbitrary location point V0 in the same 2D Euclidean plane (V0 has no type), a path V0->V‘1->V‘2->V‘3->….->V‘K->V0 is called a KTSP tour iff V‘i belongs to type i.

A KTSP tour is just an ordinary tour starting and ending in the same given arbitrary point but subject to two more constraints:
(1)It passes every type of point one and only once.
(2)The type of point the path passes has order. That is, it first starts from point V0, then first passes type T1 point, then type T2 point, then type T3 point, and so on until it passes type TK point, after which it comes back at V0.

Here is my question:
when the point location V0 is given find the shortest KTSP tour.

For example, in the following figure, every color represents one type of point, there are 3 different types of points, we assume blue colored points are type 1, red type 2, black type 3,
and the little triangle with yellow is the given location V0, then the shortest TSKP tour corresponding to this particular V0 is shown with the four blue arrows.

It seems to me this a variant of the classical TSP problem, but i can’t think of an algorithm, need help!
alt text

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T19:39:37+00:00Added an answer on May 17, 2026 at 7:39 pm

    It’s not tsp, but shortest path.

    Consider k layers of points :

    • on layer k you only have all points of color k
    • you have a directed edge between every point of a layer and every points of the next layer
    • add an edge between V0 and all points of layer 1
    • create a copy of V0, V0′ and add an edge between every point of layer k and V0′

    Now what you want is the shortest path between V0 and V0′, it will pass at layer 1, 2…k and finally V0′, given you your “shortest TSKP tour”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Given a set of n points on plane, I want to preprocess these points
Given a set of points on a plane, find the shortest line segment formed
Given a set of points in the plane T={a1,a2,...,an} then Graphics[Polygon[T]] will plot the
Given a set of points p , I would like to find a point
Given a set S of points in 2-dimensional space, provide an algorithm that computes
The given set of points is arbitrary and not something that will be constant,
Given a set of n points, can we find three points that describe a
Is there any way of automating a site publish with a given set of
I can see that Collections.unmodifiableSet returns an unmodifiable view of the given set but
This is one of the solution of getting true or false from given set

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.