Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Resumen

Summary Computer Science OCR A Level Last Minute Cram Notes

Puntuación
-
Vendido
-
Páginas
7
Subido en
29-08-2023
Escrito en
2023/2024

Inspiration for your revision, plus detailed descriptions of key terms and concepts that come up in the A level

Institución
Grado

Vista previa del contenido

A* 1. Set all distances to infinity, except the start node, which is set to 0
2. Add heuristic values to the table
3. Set start node as current node.
4. Add current node to the “open” list
5. Visit neighbours of this node, if distance from start is less than what is
currently in the table, update their distances from start, f distance and previous
node.
a. Note that f distance only includes the single heuristic distance of the single node
you are calculating for, but all the distances from start up to that node.
6. Add any neighbours not yet visited until now, into the open list – a priority
queue
7. Add current node to closed list, remove it from the open list
8. Set the node with the shortest f distance in the Open list as the current node
9. Repeat from step 4 until end node has been added to the closed list.

Node Distance from Heuristic F distance Previous node
start distance (g+h)
A 0 9
B ∞ 4
C ∞ 56 3 59 A
D ∞ 0
Dijkstra 1. Set all distances to infinity, except the start node, which is set to 0
2. Set start node as current node.
3. Add current node to the “open” list
4. Visit neighbours of this node, if distance from start is less than what is
currently in the table, update their distances from start and previous node.
5. Add any neighbours not yet visited until now, into Open – a priority queue
6. Add current node to closed list, remove it from the open list
7. Set the node with the shortest distance in the Open list as the current node
8. Repeat from step 3 until every node has been visited, and so the shortest path has
been found.

Node Distance from start Previous node
A 0
B ∞
C ∞ 56 A
D ∞

Escuela, estudio y materia

Nivel de Estudio
Editores
Tema
Curso

Información del documento

Subido en
29 de agosto de 2023
Archivo actualizado en
29 de agosto de 2023
Número de páginas
7
Escrito en
2023/2024
Tipo
RESUMEN

Temas

$9.51
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Conoce al vendedor
Seller avatar
shiningstar2

Conoce al vendedor

Seller avatar
shiningstar2 The University of Birmingham
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
3
Miembro desde
2 año
Número de seguidores
1
Documentos
4
Última venta
3 semanas hace

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes