/FileExtraction/Java_unseen/crisis-economics_CRISIS/CRISIS/src/eu/crisis_economics/abm/fund/IStrategy.java
/*
 * This file is part of CRISIS, an economics simulator.
 * 
 * Copyright (C) 2015 John Kieran Phillips
 * Copyright (C) 2015 Daniel Tang
 *
 * CRISIS is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * CRISIS is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with CRISIS.  If not, see <http://www.gnu.org/licenses/>.
 */
package eu.crisis_economics.abm.fund;

interface IStrategy {
	
	/**
	 * Subclasses should implement the bank's deposit-market strategy by overriding this function. This method is called once
	 * in each turn to allow the bank to make its move. The default implementation does nothing.
	 */
//	public abstract void considerDepositMarkets();
	
	/**
	 * Subclasses should implement the bank's commercial loan strategy here. This method is called once in each turn to allow
	 * the bank to make its move. The default implementation does nothing.
	 */
	public abstract void considerCommercialLoanMarkets();
	
//    public abstract void considerBondMarkets();
	
	/**
	 * Subclasses should implement the bank's stock-market strategy here. This method is called once in each turn to allow
	 * the bank to make its move. The default implementation does nothing.
	 */
	public abstract void considerStockMarkets();
	
	/**
	 * Subclasses should implement the bank's interbank-loan-market strategy here. This method is called once in each turn to
	 * allow the bank to make its move. The default implementation does nothing.
	 */
//	public abstract void considerInterbankMarkets();
	
	/**
	 * Returns the current deposit rate. This is a read-only Java Bean Property which can be used in an inspector.
	 */
//	public abstract double getDepositRate(); //TODO consider using market value
	
	/**
	 * Returns the current lending rate. This is a read-only Java Bean Property which can be used in an inspector.
	 */
//	public abstract double getLendingRate(); //TODO consider using market value
	
	/**
	 * Returns the current interbank lending rate. This is a read-only Java Bean Property which can be used in an inspector.
	 * 
	 * @return InterLendingRate
	 */
//	public abstract double getInterLendingRate(); //TODO consider using market value
	
	// TODO Unused?
//	public abstract double getLoanSize();
	
//	public abstract void newOrder(Order o);
	
	/**
	 * Return the order size placed on the commercial loan market
	 */
	
//	public abstract double getCommercialLoanOrderSize();
}
