@Override
	public void initialise() {
		
		for (int custNo = 0 ; custNo < 8; custNo++){
			int arrivalDay = masterAgent.agent.getClientPreference(custNo, TACAgent.ARRIVAL);
			int departureDay = masterAgent.agent.getClientPreference(custNo, TACAgent.DEPARTURE);
			
			int arrivalAuctionNo = TACAgent.getAuctionFor(TACAgent.CAT_FLIGHT, TACAgent.TYPE_INFLIGHT, arrivalDay);
			int departureAuctionNo = TACAgent.getAuctionFor(TACAgent.CAT_FLIGHT, TACAgent.TYPE_OUTFLIGHT, departureDay);
			
			masterAgent.agent.setAllocation(arrivalAuctionNo, masterAgent.agent.getAllocation(arrivalAuctionNo)+1);
			masterAgent.agent.setAllocation(departureAuctionNo, masterAgent.agent.getAllocation(departureAuctionNo)+1);
		}
		
		for (int day = 1; day < 5; day++){
			int inFlightAuctionNo = TACAgent.getAuctionFor(TACAgent.CAT_FLIGHT, TACAgent.TYPE_INFLIGHT, day);
			int numberOfTickets = masterAgent.agent.getAllocation(inFlightAuctionNo);
			int ownTickets= masterAgent.agent.getOwn(inFlightAuctionNo);
			
		//	Quote quote = new Quote(inFlightAuctionNo);
		//	float currentPrice = quote.getAskPrice();
			
			Bid bid  = new Bid(inFlightAuctionNo);
			 if((numberOfTickets-ownTickets)>0)
			    {
				// bid.addBidPoint((numberOfTickets-ownTickets), currentPrice + 50);
				 bid.addBidPoint((numberOfTickets-ownTickets), 300);
			    }
			//bid.addBidPoint(numberOfTickets, currentPrice + 50);
			
			masterAgent.agent.submitBid(bid);
			System.out.println("Bidded for inflight on day " + day + " " + numberOfTickets + " times");
		}
		for (int day = 2; day <= 5; day++){
			int outFlightAuctionNo = TACAgent.getAuctionFor(TACAgent.CAT_FLIGHT, TACAgent.TYPE_OUTFLIGHT, day);
			int numberOfTickets = masterAgent.agent.getAllocation(outFlightAuctionNo);
		    int ownTickets= masterAgent.agent.getOwn(outFlightAuctionNo);
		    
		 //   Quote quote = new Quote(outFlightAuctionNo);
		//	float currentPrice = quote.getAskPrice();
			Bid bid  = new Bid(outFlightAuctionNo);
		    if((numberOfTickets-ownTickets)>0)
		    {
				//bid.addBidPoint((numberOfTickets-ownTickets), currentPrice + 50);
		    	bid.addBidPoint((numberOfTickets-ownTickets), 300);
		    }
			masterAgent.agent.submitBid(bid);
			System.out.println("Bidded for outflight on day " + day + " " + numberOfTickets + " times");
		}
	
	} // initialise() end