com.massisframework.massis.ai.sposh.SimulationContext 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
package com.massisframework.massis.ai.sposh;
import java.util.HashMap;
import com.massisframework.massis.model.agents.LowLevelAgent;
import com.massisframework.massis.model.location.Location;
import cz.cuni.amis.pogamut.sposh.context.Context;
/**
* Agent context in MASSIS Engine
*
* @author rpax
*
* @param
*/
public class SimulationContext extends Context {
protected HashMap mentalState = new HashMap<>();
private Location target;
public SimulationContext(LowLevelAgent bot)
{
super("Simulation Context", bot);
}
public void setTarget(Location so)
{
this.target = so;
}
public Location getTarget()
{
return this.target;
}
public HashMap getMentalState()
{
return this.mentalState;
}
}