Package hu.u_szeged.nbo.geometria.type

Examples of hu.u_szeged.nbo.geometria.type.GeomPack


      System.out.println("/ "+lezartEroforrasokSzama+". lezart eroforras: "+this);
    }
  }
 
  public void addHozzarendeltMunka(GeomWork work, int begin, int end){
    hozzarendeltMunkak.gmBeszur(new GeomPack(work, this, begin, end));
  }
View Full Code Here


        write(buf,"");
        result+="\n";
        write(buf,"E" + team.getId()+" ("+place.getName()+"):");
        result+="E" + team.getId()+" ("+place.getName()+"):\n";
        for(int j=1; j<=team.getHozzarendeltMunkak().gmMeret(); j++){
          GeomPack pack = (GeomPack)team.getHozzarendeltMunkak().gmIedikElem(j);
          GeomPlace newplace = pack.getWork().getPlace();
          if(!newplace.equals(place)){
            int utazasiKoltseg = res.matrixRoadCost.getElementByIndex(place.getId(), newplace.getId());
            write(buf,"    utazas: " + newplace.getName() + " (ktg:"+ utazasiKoltseg +")");
            result+= "    utazas: " + newplace.getName() + " (ktg:"+ utazasiKoltseg +")\n";
            lefoglaltIdo += utazasiKoltseg;
            place = newplace;
          }
          lefoglaltIdo += pack.getEnd()-pack.getBegin();
          write(buf,"  M" + pack.getWork().getId()+"  [" + pack.getBegin() + "-" + pack.getEnd() + "]");
          result+= "  M" + pack.getWork().getId()+"  [" + pack.getBegin() + "-" + pack.getEnd() + "]\n";
        }
        int teljesIdo = team.getIdoablak().getY()-team.getIdoablakEredetiKezdete();
        szummaEroforrasTeljesIdo += teljesIdo;
        szummaEroforrasLefoglaltIdo += lefoglaltIdo;
        int kihasznaltsag = (100*lefoglaltIdo) / teljesIdo;
View Full Code Here

TOP

Related Classes of hu.u_szeged.nbo.geometria.type.GeomPack

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.