scheduler
Class ProbabilisticScheduler

Package class diagram package ProbabilisticScheduler
java.lang.Object
  extended by decisionMakingSystem.Scheduler
      extended by scheduler.ProbabilisticScheduler
All Implemented Interfaces:
Serializable

public class ProbabilisticScheduler
extends Scheduler

Author:
kadlr3am
See Also:
Serialized Form

Field Summary
 
Fields inherited from class decisionMakingSystem.Scheduler
activityScheduling, agentsAlarm, allIntentions, daySchedule, extraScheduling, freePartsOfTheDay, freeTime, log, nameToIntention, rnd
 
Constructor Summary
ProbabilisticScheduler(ArrayList<Intention> intentions, Logger log, String directory, String planningFilename)
           
 
Method Summary
 void changeLifestyle(String directory, String planningFilename, int alarm)
          Changes the plan of the agent.
 Intention createIntention(ArrayList<Interval> intervals, int activity, int duration, IState state)
          Creates an intention.
 ArrayList<Intention> scheduleNewDay(int counter)
          modifies the activation intervals of intentions stored in intentions => new day timetable
 ArrayList<Intention> scheduleNewIntention(int counter)
          Schedules one new intention.
 
Methods inherited from class decisionMakingSystem.Scheduler
setLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProbabilisticScheduler

public ProbabilisticScheduler(ArrayList<Intention> intentions,
                              Logger log,
                              String directory,
                              String planningFilename)
Method Detail

scheduleNewDay

public ArrayList<Intention> scheduleNewDay(int counter)
Description copied from class: Scheduler
modifies the activation intervals of intentions stored in intentions => new day timetable

Overrides:
scheduleNewDay in class Scheduler

scheduleNewIntention

public ArrayList<Intention> scheduleNewIntention(int counter)
Schedules one new intention.

Parameters:
counter -
Returns:

createIntention

public Intention createIntention(ArrayList<Interval> intervals,
                                 int activity,
                                 int duration,
                                 IState state)
Creates an intention.

Parameters:
intervals -
activity -
duration -
state -
Returns:

changeLifestyle

public void changeLifestyle(String directory,
                            String planningFilename,
                            int alarm)
Description copied from class: Scheduler
Changes the plan of the agent.

Overrides:
changeLifestyle in class Scheduler


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.