decisionMakingSystem
Class ScheduleEntry
java.lang.Object
decisionMakingSystem.ScheduleEntry
- All Implemented Interfaces:
- Serializable
public class ScheduleEntry
- extends Object
- implements Serializable
This structure is used to store the schedule entries,
example: when we want agent to go to school for
few months we add to the planing.xml a record with:
intention = IStudy
weeks = list of intervals of weeks -> (0-12) will tell him to go there for first 3 months
executionTimes - [(1, 1, 1.0) ; (2, 2, 0.5) ; (4, 3, 0)] will say, that bot studies every monday morning,
tuesday afternoon on fifty percent and is not studying thursday evenings
(though this is implicit and doesn't have to be included)
- Author:
- Ondrej
- See Also:
- Serialized Form
intention
public String intention
probabilityOfPerformance
public double probabilityOfPerformance(int day,
int part,
int week)
- Return probability of the execution in the given time
- Parameters:
day - - day of the weekpart - - part of the day -> 0: all day, 1: morning, 2: afternoon, 3: eveningweek - - week from the beginning of the simulation
- Returns:
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.