Advertisement
aveenger17

Datos.java

May 23rd, 2013
832
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.46 KB | None | 0 0
  1. public interface datos {
  2. double puntos[][]={
  3. {1,40.0,60.0},{2,15.0,25.0},{3,30.0,50.0},{4,10.0,20.0},{5,90.0,110.0},
  4. {6,140.0,170.0},{7,110.0,95.0},{8,75.0,130.0}};
  5.  
  6. int ciu=puntos.length;  //Numero de nodos a visitar
  7. int ant=1;               //Numero de hormigoas
  8.  
  9. double alfa=1.68309;    //Parametros heuristicos
  10. double beta=1.28264;
  11. double Q=0.0001;
  12. double inicia_feromona=0.8;
  13. double ev=0.1;          //Porcentaje de evaporacion
  14. int ruta[]=new int[ciu];
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement