diff options
| author | Dayana31 <[email protected]> | 2022-04-11 01:55:25 -0500 |
|---|---|---|
| committer | Dayana31 <[email protected]> | 2022-04-11 01:55:25 -0500 |
| commit | b84975e11b70045c2eaa9e1981da1478513bf51f (patch) | |
| tree | 16d653dfd22baac03e81f5471b01b6b6aa614afb /VRP/src/Algoritmo/Tramo.java | |
| parent | f990de080acbd103d287b274e33b18ff220dd702 (diff) | |
| download | DP1_project-b84975e11b70045c2eaa9e1981da1478513bf51f.tar.gz DP1_project-b84975e11b70045c2eaa9e1981da1478513bf51f.tar.bz2 DP1_project-b84975e11b70045c2eaa9e1981da1478513bf51f.zip | |
Clases para algoritmo en Java
Diffstat (limited to 'VRP/src/Algoritmo/Tramo.java')
| -rw-r--r-- | VRP/src/Algoritmo/Tramo.java | 24 |
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; + } + + +} |
