Skip to content

Instantly share code, notes, and snippets.

@hoorayimhelping
Created February 11, 2016 22:59
Show Gist options
  • Select an option

  • Save hoorayimhelping/96df714c9ec95af8eae5 to your computer and use it in GitHub Desktop.

Select an option

Save hoorayimhelping/96df714c9ec95af8eae5 to your computer and use it in GitHub Desktop.
diff --git a/src/js/maps/kerbol_system.js b/src/js/maps/kerbol_system.js
index f11c709..e68cfff 100644
--- a/src/js/maps/kerbol_system.js
+++ b/src/js/maps/kerbol_system.js
@@ -1,26 +1,26 @@
-var Node = require('../graph/node');
-var Edge = require('../graph/edge');
+import Node from '../graph/node';
+import Edge from '../graph/edge';
-var newNode = function(id) {
- var node = new Node();
+let newNode = function(id) {
+ let node = new Node();
node.id = id;
return node;
};
-var newEdge = function(options) {
+let newEdge = function(options) {
return new Edge(options.deltav, options.name);
};
// values taken from http://i.imgur.com/duY2S.png
-var nodes = {
+let nodes = {
kerbin: newNode('Kerbin'),
low_kerbin_orbit: newNode('Low Kerbin Orbit'),
geostationary_transfer_orbit: newNode('GTO'),
mun_transfer: newNode('Mun Transfer')
};
-var edges = {
+let edges = {
kerbin_lko: newEdge({ deltav: 3800, name: 'kerbin-lko' }),
lko_gto: newEdge({ deltav: 670, name: 'lko-gto' }),
lko_mun_transfer: newEdge({ deltav: 190, name: 'lko-mun_transfer' })
diff --git a/src/js/maps/solar_system.js b/src/js/maps/solar_system.js
index 067364f..6e91974 100644
--- a/src/js/maps/solar_system.js
+++ b/src/js/maps/solar_system.js
@@ -1,13 +1,13 @@
-var Node = require('../graph/node');
-var Edge = require('../graph/edge');
+import Node from '../graph/node';
+import Edge from '../graph/edge';
-var newEdge = function(options) {
+let newEdge = function(options) {
return new Edge(options.deltav, options.name);
};
// values taken from http://i.imgur.com/SqdzxzF.png
-var SolarSystem = function() {
+let SolarSystem = function() {
this.nodes = {
earth: new Node('Earth'),
low_earth_orbit: new Node('Low Earth Orbit'),
@@ -152,7 +152,7 @@ var SolarSystem = function() {
SolarSystem.prototype = {
unwalkNodes: function() {
- for (var node in this.nodes) {
+ for (let node in this.nodes) {
this.nodes[node].visited = false;
}
},
diff --git a/test/graph.js b/test/graph.js
index f6ca8c4..c8a7411 100644
--- a/test/graph.js
+++ b/test/graph.js
@@ -1,14 +1,14 @@
-var Graph = require('../src/js/graph/graph');
-var Node = require('../src/js/graph/node');
-var Edge = require('../src/js/graph/edge');
+import Graph from '../src/js/graph/graph';
+import Node from '../src/js/graph/node';
+import Edge from '../src/js/graph/edge';
-var solar_system = require('../src/js/maps/solar_system');
-var kerbol_system = require('../src/js/maps/kerbol_system');
+import solar_system from '../src/js/maps/solar_system';
+import kerbol_system from '../src/js/maps/kerbol_system';
describe("checking a graph for adjacency", function() {
- var graph = new Graph();
- var edges = kerbol_system.edges;
- var nodes = kerbol_system.nodes;
+ let graph = new Graph();
+ let edges = kerbol_system.edges;
+ let nodes = kerbol_system.nodes;
graph.addEdge(edges.kerbin_lko, nodes.kerbin, nodes.low_kerbin_orbit);
graph.addEdge(edges.lko_gto, nodes.low_kerbin_orbit, nodes.geostationary_transfer_orbit);
diff --git a/test/mocha.opts b/test/mocha.opts
index f581628..c4608bc 100644
--- a/test/mocha.opts
+++ b/test/mocha.opts
@@ -1,3 +1,4 @@
+--require babel-core/register
--require ./test/environment.js
--reporter list
--ui bdd
diff --git a/test/solar_system.js b/test/solar_system.js
index 5c49119..13dc60b 100644
--- a/test/solar_system.js
+++ b/test/solar_system.js
@@ -1,14 +1,14 @@
-var Graph = require('../src/js/graph/graph');
-var Node = require('../src/js/graph/node');
-var Edge = require('../src/js/graph/edge');
+import Graph from '../src/js/graph/graph';
+import Node from '../src/js/graph/node';
+import Edge from '../src/js/graph/edge';
-var solar_system = require('../src/js/maps/solar_system');
+import solar_system from '../src/js/maps/solar_system';
describe("one-way trips from earth", function() {
- var edges = solar_system.edges;
- var nodes = solar_system.nodes;
+ let edges = solar_system.edges;
+ let nodes = solar_system.nodes;
- var graph = new Graph();
+ let graph = new Graph();
solar_system.buildGraph(graph, edges, nodes);
afterEach(function() {
@@ -16,8 +16,8 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to geostationary orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.geostationary_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.geostationary_orbit);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_geostationary_transfer.value +
edges.geostationary_transfer_geo_orbit.value;
@@ -25,18 +25,18 @@ describe("one-way trips from earth", function() {
});
describe("to lunar space", function() {
- var earth_to_low_lunar_orbit_delta_v = edges.low_earth_orbit.value +
+ let earth_to_low_lunar_orbit_delta_v = edges.low_earth_orbit.value +
edges.low_earth_orbit_moon_transfer.value +
edges.moon_transfer_low_moon_orbit.value;
it("calulates the delta-v to lunar orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_moon_orbit);
+ let total_value = graph.walk(nodes.earth, nodes.low_moon_orbit);
expect(total_value).to.equal(earth_to_low_lunar_orbit_delta_v);
});
it("calculates the delta-v to a lunar surface landing", function() {
- var total_value = graph.walk(nodes.earth, nodes.moon);
+ let total_value = graph.walk(nodes.earth, nodes.moon);
expect(total_value).to.equal(earth_to_low_lunar_orbit_delta_v + edges.low_moon_orbit_moon_landing.value);
});
@@ -44,8 +44,8 @@ describe("one-way trips from earth", function() {
describe("to venutian space", function() {
it("calculates the delta-v to venus transfer orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.venus_transfer);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.venus_transfer);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_venus_transfer.value;
@@ -53,8 +53,8 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to low venus orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_venus_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.low_venus_orbit);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_venus_transfer.value +
edges.venus_transfer_low_venus_orbit.value;
@@ -63,8 +63,8 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to a venus landing", function() {
- var total_value = graph.walk(nodes.earth, nodes.venus);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.venus);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_venus_transfer.value +
edges.venus_transfer_low_venus_orbit.value +
@@ -76,8 +76,8 @@ describe("one-way trips from earth", function() {
describe("to mercurian space", function() {
it("calculates the delta-v to mercury transfer orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.mercury_transfer);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.mercury_transfer);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_mercury_transfer.value;
@@ -85,8 +85,8 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to low mercury orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_mercury_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.low_mercury_orbit);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_mercury_transfer.value +
edges.mercury_transfer_low_mercury_orbit.value;
@@ -95,8 +95,8 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to a mercury landing", function() {
- var total_value = graph.walk(nodes.earth, nodes.mercury);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.mercury);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_mercury_transfer.value +
edges.mercury_transfer_low_mercury_orbit.value +
@@ -108,8 +108,8 @@ describe("one-way trips from earth", function() {
describe("to martian space", function() {
it("calculates the delta-v to mars transfer orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.mars_transfer);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.mars_transfer);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_mars_transfer.value;
@@ -117,8 +117,8 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to low mars orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_mars_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.low_mars_orbit);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_mars_transfer.value +
edges.mars_transfer_low_mars_orbit.value;
@@ -127,8 +127,8 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to a mars landing", function() {
- var total_value = graph.walk(nodes.earth, nodes.mars);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.mars);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_mars_transfer.value +
edges.mars_transfer_low_mars_orbit.value +
@@ -139,9 +139,9 @@ describe("one-way trips from earth", function() {
describe("to deimos space", function() {
it("calculates the delta-v to low deimos orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_deimos_orbit);
+ let total_value = graph.walk(nodes.earth, nodes.low_deimos_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_mars_transfer.value +
edges.mars_transfer_deimos_transfer.value +
@@ -151,9 +151,9 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to a deimos landing", function() {
- var total_value = graph.walk(nodes.earth, nodes.deimos);
+ let total_value = graph.walk(nodes.earth, nodes.deimos);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_mars_transfer.value +
edges.mars_transfer_deimos_transfer.value +
@@ -165,9 +165,9 @@ describe("one-way trips from earth", function() {
describe("to phobos space", function() {
it("calculates the delta-v to low phobos orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_phobos_orbit);
+ let total_value = graph.walk(nodes.earth, nodes.low_phobos_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_mars_transfer.value +
edges.mars_transfer_phobos_transfer.value +
@@ -177,9 +177,9 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to a phobos landing", function() {
- var total_value = graph.walk(nodes.earth, nodes.phobos);
+ let total_value = graph.walk(nodes.earth, nodes.phobos);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_mars_transfer.value +
edges.mars_transfer_phobos_transfer.value +
@@ -194,8 +194,8 @@ describe("one-way trips from earth", function() {
describe("to jovian space", function() {
it("calculates the delta-v to jupiter transfer orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.jupiter_transfer);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.jupiter_transfer);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_jupiter_transfer.value;
@@ -203,8 +203,8 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to low jupiter orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_jupiter_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.low_jupiter_orbit);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_jupiter_transfer.value +
edges.jupiter_transfer_low_jupiter_orbit.value;
@@ -214,9 +214,9 @@ describe("one-way trips from earth", function() {
describe("to callisto space", function() {
it("calculates the delta-v to low callisto orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_callisto_orbit);
+ let total_value = graph.walk(nodes.earth, nodes.low_callisto_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_jupiter_transfer.value +
edges.jupiter_transfer_callisto_transfer.value +
@@ -226,9 +226,9 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to a callisto landing", function() {
- var total_value = graph.walk(nodes.earth, nodes.callisto);
+ let total_value = graph.walk(nodes.earth, nodes.callisto);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_jupiter_transfer.value +
edges.jupiter_transfer_callisto_transfer.value +
@@ -241,9 +241,9 @@ describe("one-way trips from earth", function() {
describe("to ganymede space", function() {
it("calculates the delta-v to low ganymede orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_ganymede_orbit);
+ let total_value = graph.walk(nodes.earth, nodes.low_ganymede_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_jupiter_transfer.value +
edges.jupiter_transfer_ganymede_transfer.value +
@@ -253,9 +253,9 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to a ganymede landing", function() {
- var total_value = graph.walk(nodes.earth, nodes.ganymede);
+ let total_value = graph.walk(nodes.earth, nodes.ganymede);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_jupiter_transfer.value +
edges.jupiter_transfer_ganymede_transfer.value +
@@ -268,9 +268,9 @@ describe("one-way trips from earth", function() {
describe("to europa space", function() {
it("calculates the delta-v to low europa orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_europa_orbit);
+ let total_value = graph.walk(nodes.earth, nodes.low_europa_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_jupiter_transfer.value +
edges.jupiter_transfer_europa_transfer.value +
@@ -280,9 +280,9 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to a europa landing", function() {
- var total_value = graph.walk(nodes.earth, nodes.europa);
+ let total_value = graph.walk(nodes.earth, nodes.europa);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_jupiter_transfer.value +
edges.jupiter_transfer_europa_transfer.value +
@@ -295,9 +295,9 @@ describe("one-way trips from earth", function() {
describe("to io space", function() {
it("calculates the delta-v to low io orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_io_orbit);
+ let total_value = graph.walk(nodes.earth, nodes.low_io_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_jupiter_transfer.value +
edges.jupiter_transfer_io_transfer.value +
@@ -307,9 +307,9 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to a io landing", function() {
- var total_value = graph.walk(nodes.earth, nodes.io);
+ let total_value = graph.walk(nodes.earth, nodes.io);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_jupiter_transfer.value +
edges.jupiter_transfer_io_transfer.value +
@@ -323,8 +323,8 @@ describe("one-way trips from earth", function() {
describe("to saturn space", function() {
it("calculates the delta-v to saturn transfer orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.saturn_transfer);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.saturn_transfer);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_saturn_transfer.value;
@@ -332,8 +332,8 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to low saturn orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_saturn_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.low_saturn_orbit);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_saturn_transfer.value +
edges.saturn_transfer_low_saturn_orbit.value;
@@ -343,9 +343,9 @@ describe("one-way trips from earth", function() {
describe("to titan space", function() {
it("calculates the delta-v to low titan orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_titan_orbit);
+ let total_value = graph.walk(nodes.earth, nodes.low_titan_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_saturn_transfer.value +
edges.saturn_transfer_titan_transfer.value +
@@ -355,9 +355,9 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to a titan landing", function() {
- var total_value = graph.walk(nodes.earth, nodes.titan);
+ let total_value = graph.walk(nodes.earth, nodes.titan);
- var expected_value = edges.low_earth_orbit.value +
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_saturn_transfer.value +
edges.saturn_transfer_titan_transfer.value +
@@ -371,8 +371,8 @@ describe("one-way trips from earth", function() {
describe("to uranus space", function() {
it("calculates the delta-v to uranus transfer orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.uranus_transfer);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.uranus_transfer);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_uranus_transfer.value;
@@ -380,8 +380,8 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to low uranus orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_uranus_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.low_uranus_orbit);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_uranus_transfer.value +
edges.uranus_transfer_low_uranus_orbit.value;
@@ -392,8 +392,8 @@ describe("one-way trips from earth", function() {
describe("to neptonian space", function() {
it("calculates the delta-v to neptune transfer orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.neptune_transfer);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.neptune_transfer);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_neptune_transfer.value;
@@ -401,8 +401,8 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to low neptune orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_neptune_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.low_neptune_orbit);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_neptune_transfer.value +
edges.neptune_transfer_low_neptune_orbit.value;
@@ -413,8 +413,8 @@ describe("one-way trips from earth", function() {
describe("to solar space", function() {
it("calculates the delta-v to sun transfer orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.sun_transfer);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.sun_transfer);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_sun_transfer.value;
@@ -422,8 +422,8 @@ describe("one-way trips from earth", function() {
});
it("calculates the delta-v to low sun orbit", function() {
- var total_value = graph.walk(nodes.earth, nodes.low_sun_orbit);
- var expected_value = edges.low_earth_orbit.value +
+ let total_value = graph.walk(nodes.earth, nodes.low_sun_orbit);
+ let expected_value = edges.low_earth_orbit.value +
edges.low_earth_orbit_earth_transfer.value +
edges.earth_transfer_sun_transfer.value +
edges.sun_transfer_low_sun_orbit.value;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment