예제 #1
0
 public WorkProvider(BotAvatar avatar, WorkflowProvider provider, WorkAgent workAgent, Planner<WorkItem> planner)
 {
     _avatar = avatar;
     _workflow = provider;
     _workAgent = workAgent;
     _planner = planner;
 }
예제 #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>>();
 }
예제 #3
0
 public abstract void Accept(WorkItem item, WorkflowProvider provider);
예제 #4
0
 public abstract void Unsuspend(WorkItem item, WorkflowProvider provider);
예제 #5
0
 public abstract void Delegate(WorkItem item, WorkAgent other, WorkflowProvider provider);
예제 #6
0
 public abstract void Complete(WorkItem workItem, WorkflowProvider provider);
예제 #7
0
 public WorkflowChatHandler(WorkAgent workAgent, WorkflowProvider workProvider)
 {
     _workAgent = workAgent;
     _workflow = workProvider;
 }
예제 #8
0
 public SimulationController(Simulation.Simulation simulation, WorkflowProvider workflowProvider)
 {
     _simulation = simulation;
     _workflowProvider = workflowProvider;
 }