Beispiel #1
0
 public WorkProvider(BotAvatar avatar, WorkflowProvider provider, WorkAgent workAgent, Planner<WorkItem> planner)
 {
     _avatar = avatar;
     _workflow = provider;
     _workAgent = workAgent;
     _planner = planner;
 }
Beispiel #2
0
 public HumanWorkProvider(HumanAvatar user, WorkAgent workAgent,
     WorkflowProvider workflow, IDecompositionService<WorkItem> decompService,
     GoalService goalService)
 {
     _user = user;
     _workflow = workflow;
     WorkAgent = workAgent;
     _decompService = decompService;
     _goalService = goalService;
     _workitemGoals = new Dictionary<WorkItem, List<Goal>>();
     _completedGoals = new Dictionary<WorkItem, List<Goal>>();
 }
Beispiel #3
0
 public abstract void Accept(WorkItem item, WorkflowProvider provider);
Beispiel #4
0
 public abstract void Unsuspend(WorkItem item, WorkflowProvider provider);
Beispiel #5
0
 public abstract void Delegate(WorkItem item, WorkAgent other, WorkflowProvider provider);
Beispiel #6
0
 public abstract void Complete(WorkItem workItem, WorkflowProvider provider);
 public WorkflowChatHandler(WorkAgent workAgent, WorkflowProvider workProvider)
 {
     _workAgent = workAgent;
     _workflow = workProvider;
 }
 public SimulationController(Simulation.Simulation simulation, WorkflowProvider workflowProvider)
 {
     _simulation = simulation;
     _workflowProvider = workflowProvider;
 }