All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.meliorbis.economics.infrastructure.SolverBase Maven / Gradle / Ivy

Go to download

A library for solving economic models, particularly macroeconomic models with heterogeneous agents who have model-consistent expectations

There is a newer version: 1.1
Show newest version
/**
 * 
 */
package com.meliorbis.economics.infrastructure;

import com.meliorbis.economics.model.Model;
import com.meliorbis.economics.model.ModelConfig;
import com.meliorbis.economics.model.State;

/**
 * Base class for solvers
 * 
 * @author Tobias Grasl
 * 
 * @param  The Config type
 * @param  The State type
 * @param  The Model type
 */
public abstract class SolverBase, M extends Model> extends Base
{
	final protected C _config;
	final protected M _model;

	
	
	/**
	 * @param model_ The model being solved
	 * @param config_ The configuration of the model being solved
	 */
	protected SolverBase(M model_, C config_)
	{
		super();
		
		_model = model_;
		_config = config_;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy