Search Results for

    Show / Hide Table of Contents

    Class ScheduleBasedTaskSystem

    Executes tasks by scheduling them in a priority queue

    Inheritance
    Object
    TaskSystem
    ScheduleBasedTaskSystem
    Implements
    ITaskSystem
    Namespace: i5.VirtualAgents.ScheduleBasedExecution
    Assembly: cs.temp.dll.dll
    Syntax
    public class ScheduleBasedTaskSystem : TaskSystem, ITaskSystem

    Properties

    Tasks

    List of shortcut methods to add common tasks to the agent's task queue Syntactic sugar. It is also possible to directly enqueue task objects on the agent instead, e.g. for custom tasks

    Declaration
    public TaskActions Tasks { get; }
    Property Value
    Type Description
    TaskActions

    Methods

    ScheduleTask(IAgentTask, Int32, String)

    Schedule a task

    Declaration
    public void ScheduleTask(IAgentTask task, int priority = 0, string layer = "Base Layer")
    Parameters
    Type Name Description
    IAgentTask task

    Task to be scheduled

    Int32 priority

    Priority of the task. Tasks with high importance should get a positive value, less important tasks a negative value

    String layer

    UpdateTaskSystem()

    Declaration
    public override void UpdateTaskSystem()
    Overrides
    TaskSystem.UpdateTaskSystem()

    Implements

    ITaskSystem
    In This Article
    Back to top Documentation of the Virtual Agents Framework