Class PeriodicPresentPerson
java.lang.Object
org.powertac.officecomplexcustomer.persons.Person
org.powertac.officecomplexcustomer.persons.WorkingPerson
org.powertac.officecomplexcustomer.persons.PeriodicPresentPerson
public class PeriodicPresentPerson extends WorkingPerson
This is the instance of the person type that works in a regular basis for a
number of days in the week. The standard program gives space for some leisure
activities.
- Version:
- 1.5, Date: 2.25.12
- Author:
- Antonios Chrysopoulos
-
Field Summary
-
Constructor Summary
Constructors Constructor Description PeriodicPresentPerson() -
Method Summary
Modifier and Type Method Description voidinitialize(String AgentName, Properties conf, Vector<Integer> publicVacationVector, int seed)This is the initialization function.voidrefresh(Properties conf)At the end of each week the person models refresh their schedule.Methods inherited from class org.powertac.officecomplexcustomer.persons.Person
fillDailyRoutine, getDailyRoutine, getWeeklyRoutine, setMemberOf, test, toString
-
Constructor Details
-
PeriodicPresentPerson
public PeriodicPresentPerson()
-
-
Method Details
-
initialize
public void initialize(String AgentName, Properties conf, Vector<Integer> publicVacationVector, int seed)Description copied from class:PersonThis is the initialization function. It uses the variable values for the configuration file to create the person as it should for this type.- Overrides:
initializein classPerson
-
refresh
Description copied from class:PersonAt the end of each week the person models refresh their schedule. This way we have a realistic and dynamic model, changing working hours, leisure activities and so on.
-