You are Here: Home >< Maths

# D1 Dijkstra - Can we repeat nodes?

Announcements Posted on
Four hours left to win £100 of Amazon vouchers!! Don't miss out! Take our short survey to enter 24-10-2016
1. I was doing the June 2015 D1 paper and was wondering why can we repeat nodes in the algorithm for 3.C

It says find the route but the answer in the mark scheme repeats a node, but I thought a route by definition could not repeat nodes.

Attachment 549343549345
Attached Images

2. Sorry you've not had any responses about this. Are you sure you've posted in the right place? Here's a link to our subject forum which should help get you more responses if you post there.

You can also find the Exam Thread list for A-levels here and GCSE here.

Just quoting in Puddles the Monkey so she can move the thread if needed
Spoiler:
Show
(Original post by Puddles the Monkey)
x
3. (Original post by thebobby)
I was doing the June 2015 D1 paper and was wondering why can we repeat nodes in the algorithm for 3.C

It says find the route but the answer in the mark scheme repeats a node, but I thought a route by definition could not repeat nodes.

Attachment 549343549345
You are correct in that Dijkastra's algorithm does not allow the repetition of nodes, but.

Part c is using Dijkstra's algorithm twice: Once when going from A to E, and once when going from E to J. There can be overlap between the two parts, but within each part a node only appears once, at most.

## Register

Thanks for posting! You just need to create an account in order to submit the post
1. this can't be left blank
2. this can't be left blank
3. this can't be left blank

6 characters or longer with both numbers and letters is safer

4. this can't be left empty
1. Oops, you need to agree to our Ts&Cs to register

Updated: June 16, 2016
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Today on TSR

### Who is getting a uni offer this half term?

Find out which unis are hot off the mark here

Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read here first

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams