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

edu.cmu.sv.system_action.non_dialog_task.NonDialogTaskPreferences 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.system_action.non_dialog_task;

import java.util.Set;

/**
 * Created by David Cohen on 8/27/14.
 */
public class NonDialogTaskPreferences {
    // if explicit confirmation is always required before the task is executed, set alwaysRequireConfirmation to true
    public boolean alwaysRequireConfirmation;

    // all the rewards and penalties are given as positive numbers,penalties are converted to negative numbers for
    // decision-making
    public double penaltyForDelay;
    public double rewardForCorrectExecution;
    public double penaltyForIncorrectExecution;

    // define the slots that are required to be defined by the user before execution is possible
    public Set slotsRequired;

    public NonDialogTaskPreferences(boolean alwaysRequireConfirmation, double penaltyForDelay, double rewardForCorrectExecution, double penaltyForIncorrectExecution, Set slotsRequired) {
        this.alwaysRequireConfirmation = alwaysRequireConfirmation;
        this.penaltyForDelay = penaltyForDelay;
        this.rewardForCorrectExecution = rewardForCorrectExecution;
        this.penaltyForIncorrectExecution = penaltyForIncorrectExecution;
        this.slotsRequired = slotsRequired;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy