From b84975e11b70045c2eaa9e1981da1478513bf51f Mon Sep 17 00:00:00 2001 From: Dayana31 <70593166+Dayana31@users.noreply.github.com> Date: Mon, 11 Apr 2022 01:55:25 -0500 Subject: Clases para algoritmo en Java --- VRP/src/Algoritmo/Tramo.java | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 VRP/src/Algoritmo/Tramo.java (limited to 'VRP/src/Algoritmo/Tramo.java') 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; + } + + +} -- cgit v1.2.3