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

edu.cmu.sv.database.Sensor Maven / Gradle / Ivy

Go to download

A library that allows rapid prototyping of dialog systems (language understanding, discourse modelling, dialog management, language generation).

There is a newer version: 0.7.0
Show newest version
package edu.cmu.sv.database;

import edu.cmu.sv.yoda_environment.YodaEnvironment;

/**
 * Created by David Cohen on 3/7/15.
 */
public interface Sensor {

    /*
    * implement this method, which updates the YODA agent's database according to some new information from the world
    * */
    public void sense(YodaEnvironment targetEnvironment);


    /*
    * The time in milliseconds that should elapse between YODA calls to this sensor.
    * NOTE: this is a guideline for YODA, and no guarantee is made that it will be followed.
    * It *should* be <= the actual time difference between any two calls to sense()
    *
    * Sensing is actually done at the beginning of DST loop
    *
    * */
    public double sensingPeriod = 1000;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy