Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public interface datos {
- double puntos[][]={
- {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},
- {6,140.0,170.0},{7,110.0,95.0},{8,75.0,130.0}};
- int ciu=puntos.length; //Numero de nodos a visitar
- int ant=1; //Numero de hormigoas
- double alfa=1.68309; //Parametros heuristicos
- double beta=1.28264;
- double Q=0.0001;
- double inicia_feromona=0.8;
- double ev=0.1; //Porcentaje de evaporacion
- int ruta[]=new int[ciu];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement