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

com.massisframework.massis.ai.sposh.SimulationContext Maven / Gradle / Ivy

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy