com.massisframework.massis.ai.sposh.actions.SimulationAction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of massis-ai-sposh Show documentation
Show all versions of massis-ai-sposh Show documentation
SPOSH High Level Controller
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.massisframework.massis.ai.sposh.actions;
import com.massisframework.massis.ai.sposh.SimulationContext;
import cz.cuni.amis.pogamut.sposh.executor.ParamsAction;
/**
* Represents an SPOSH action in MASSIS simulation engine
*
* @author rpax
*/
public abstract class SimulationAction extends ParamsAction
{
public SimulationAction(SimulationContext ctx)
{
super(ctx);
}
/*
* The SPOSH engine calls init() and done() with
* reflection. Making these two methods abstract, forces the underlaying
* classes to implement it, avoiding errors.
*/
public abstract void init();
public abstract void done();
}