Exemple #1
0
    def get_out(self):
        if not self.approach:
            self.approach = True
            self.vacation = False
            return TimeStruct(1464, 0, Statistic(RANDOM_SEED, 0, 1))  # 방학대기

        else:
            self.count += 1
            self.vacation = False
            if self.count >= 122:
                self.vacation = True
                self.approach = False
                self.count = 0
                return TimeStructContstraintToDay(
                    7, 58, Statistic(RANDOM_SEED, AVG_TIME, TIME_STDDEV))
            else:

                return TimeStructContstraintToDay(
                    7, 58, Statistic(RANDOM_SEED, AVG_TIME, TIME_STDDEV))
Exemple #2
0
 def get_sleep(self):
     return TimeStruct(24, 51, Statistic(RANDOM_SEED, AVG_TIME,
                                         TIME_STDDEV))
Exemple #3
0
 def get_wakeup(self):
     return TimeStruct(7, 58, Statistic(RANDOM_SEED, AVG_TIME, TIME_STDDEV))
Exemple #4
0
 def get_in(self):
     return TimeStruct(15, 0, Statistic(RANDOM_SEED, 0, 1))
     """
Exemple #5
0
 def get_sleep(self):
     return TimeStruct(22, 14, Statistic(RANDOM_SEED, 0, 1))
Exemple #6
0
 def get_wakeup(self):
     return TimeStruct(5, 22, Statistic(RANDOM_SEED, 0, 1))
Exemple #7
0
 def get_out(self):
     return TimeStruct(6, 26, Statistic(RANDOM_SEED, AVG_TIME, TIME_STDDEV))