add lost semicolons (#89)
This commit is contained in:
committed by
Aditya Bhargava
parent
3e887a6d3c
commit
be4a420dd5
@@ -1,23 +1,23 @@
|
|||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// the graph
|
// the graph
|
||||||
const graph = {}
|
const graph = {};
|
||||||
graph["start"] = {}
|
graph["start"] = {};
|
||||||
graph["start"]["a"] = 6
|
graph["start"]["a"] = 6;
|
||||||
graph["start"]["b"] = 2
|
graph["start"]["b"] = 2;
|
||||||
|
|
||||||
graph["a"] = {}
|
graph["a"] = {};
|
||||||
graph["a"]["fin"] = 1
|
graph["a"]["fin"] = 1;
|
||||||
|
|
||||||
graph["b"] = {}
|
graph["b"] = {};
|
||||||
graph["b"]["a"] = 3
|
graph["b"]["a"] = 3;
|
||||||
graph["b"]["fin"] = 5
|
graph["b"]["fin"] = 5;
|
||||||
|
|
||||||
graph["fin"] = {}
|
graph["fin"] = {};
|
||||||
|
|
||||||
// The costs table
|
// The costs table
|
||||||
const costs = {};
|
const costs = {};
|
||||||
costs['a'] = 6
|
costs['a'] = 6;
|
||||||
costs['b'] = 2;
|
costs['b'] = 2;
|
||||||
costs['fin'] = Infinity;
|
costs['fin'] = Infinity;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user