summaryrefslogtreecommitdiffstats
path: root/VRP/src/Algoritmo/Tramo.java
diff options
context:
space:
mode:
Diffstat (limited to 'VRP/src/Algoritmo/Tramo.java')
-rw-r--r--VRP/src/Algoritmo/Tramo.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/VRP/src/Algoritmo/Tramo.java b/VRP/src/Algoritmo/Tramo.java
new file mode 100644
index 0000000..eb2955d
--- /dev/null
+++ b/VRP/src/Algoritmo/Tramo.java
@@ -0,0 +1,24 @@
+/*
+ * To change this license header, choose License Headers in Project Properties.
+ * To change this template file, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package Algoritmo;
+
+/**
+ *
+ * @author DAYANA
+ */
+public class Tramo {
+ Ciudad ciudad1;
+ Ciudad ciudad2;
+ double distancia;
+
+ public Tramo(Ciudad ciudad1, Ciudad ciudad2, double distancia) {
+ this.ciudad1 = ciudad1;
+ this.ciudad2 = ciudad2;
+ this.distancia = distancia;
+ }
+
+
+}