public Hospital(String name) {
		JFrame f = new JFrame();
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.plotter = new Plotter();
        f.add(plotter);
        f.setSize(400,400);
        f.setLocation(1200,500);
        f.setVisible(true);
        
        this.plotter.setData(new int [11]);
		
		Scanner sc = new Scanner(System.in);
		System.out.println("تعداده دکترارو وارد کن");
		this.docCount = sc.nextInt();
		this.random = new RandomGenerator();
		this.patients = new LinkedBlockingDeque<Patient>();
		this.name = name;
		this.doc_queues = new HashMap<HospitalPart, LinkedBlockingDeque<Patient>>();
		this.sectors = new HashMap<HospitalPart, Sector>();
		int i = 0;
		for (HospitalPart sp : HospitalPart.values()) {
			this.doc_queues.put(sp, new LinkedBlockingDeque<Patient>());
			this.sectors.put(sp, new Sector(sectors.size(), sp, docCount));
			this.sectors.get(sp).setLamda(lamdas[i]);
			i++;
		}
		max = new Max();
		this.allPatients = new ArrayList<>();
	}