Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Test {
- public static List<Grupo> lista = new ArrayList<Grupo>();
- public static Double presupuesto = 10000.0;
- public static void main(String[] args){
- //Viernes tarde
- lista.add(new Grupo("Corizonas",9,4000.0,"viernes","tarde",false,true));
- lista.add(new Grupo("RussianRed",6,3000.0,"viernes","tarde",false,false));
- lista.add(new Grupo("Sidonie",5,5000.0,"viernes","tarde",false,true));
- //Viernes noche
- lista.add(new Grupo("LoveOfLesbian",12,5000.0,"viernes","noche",true,false));
- lista.add(new Grupo("Dorian",5,2000.0,"viernes","noche",false,false));
- lista.add(new Grupo("NiÒosMutantes",3,3000.0,"viernes","noche",true,true));
- //Sabado tarde
- lista.add(new Grupo("IZAL",8,6000.0,"sabado","tarde",false,false));
- lista.add(new Grupo("LA",6,3000.0,"sabado","tarde",false,false));
- lista.add(new Grupo("LeÛnBenavente",6,4000.0,"sabado","tarde",false,false));
- //Sabado noche
- lista.add(new Grupo("ArizonaBaby",8,3000.0,"sabado","noche",true,false));
- lista.add(new Grupo("Igloo",6,1000.0,"sabado","noche",false,true));
- lista.add(new Grupo("Grises",6,2000.0,"sabado","noche",true,true));
- List<Grupo> lista1 = new BackTracking().recursividad(lista.size()-1,new ArrayList<Grupo>(),presupuesto);
- System.out.println("Lista de grupo del festival: "+lista1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement