com.meliorbis.economics.infrastructure.SolverBase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ModelSolver Show documentation
Show all versions of ModelSolver Show documentation
A library for solving economic models, particularly
macroeconomic models with heterogeneous agents who have model-consistent
expectations
/**
*
*/
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