
ca.appsimulations.jlqninterface.algorithm.Algorithm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jLQNInterface Show documentation
Show all versions of jLQNInterface Show documentation
Java API to solve, analyze and manipulate Layered Qeueuing Network (LQN) models
package ca.appsimulations.jlqninterface.algorithm;
import ca.appsimulations.jlqninterface.configuration.ConfigurationService;
import ca.appsimulations.jlqninterface.lqn.model.LqnModel;
import lombok.Data;
import lombok.experimental.Accessors;
/**
* @author Yasir Shoaib (2011,2012) Contributors: Yasir Shoaib - Implementation
*
* Some LQN classes and their members are outlined as UML class diagrams
* in LQNS User Manual. For details regarding these LQN classes and
* members refer to LQNS User Manual.
*/
@Data
@Accessors(fluent = true, chain = true)
public abstract class Algorithm {
protected LqnModel lqnModel;
protected ConfigurationService configurationService;
public Algorithm(ConfigurationService configurationService, LqnModel lqnModel) {
this.lqnModel = lqnModel;
this.configurationService = configurationService;
}
public abstract void setup();
public abstract void run();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy