def setParameters( self, enabled=True, interval=25, taskDueDistribution=NearFutureDistribution(), ): self.enabled = enabled self._interval = interval self._taskStartDistribution = taskDueDistribution
def setParameters( self, enabled=True, interval=25, eventStartDistribution=NearFutureDistribution(), eventDurationDistribution=UniformDiscreteDistribution( [15 * 60, 30 * 60, 45 * 60, 60 * 60, 120 * 60]), recurrenceDistribution=RecurrenceDistribution(False), ): self.enabled = enabled self._interval = interval self._eventStartDistribution = eventStartDistribution self._eventDurationDistribution = eventDurationDistribution self._recurrenceDistribution = recurrenceDistribution
def setParameters( self, enabled=True, interval=5, pastTheHour=[0, 15, 30, 45], eventStartDistribution=NearFutureDistribution(), eventDurationDistribution=UniformDiscreteDistribution( [15 * 60, 30 * 60, 45 * 60, 60 * 60, 120 * 60]), recurrenceDistribution=RecurrenceDistribution(False), ): self.enabled = enabled self._interval = interval self._pastTheHour = pastTheHour self._eventStartDistribution = eventStartDistribution self._eventDurationDistribution = eventDurationDistribution self._recurrenceDistribution = recurrenceDistribution self._lastMinuteChecked = -1
def setParameters( self, enabled=True, sendInvitationDistribution=NormalDistribution(600, 60), inviteeDistribution=UniformDiscreteDistribution(range(-10, 11)), inviteeClumping=True, inviteeCountDistribution=LogNormalDistribution(1.2, 1.2), eventStartDistribution=NearFutureDistribution(), eventDurationDistribution=UniformDiscreteDistribution( [15 * 60, 30 * 60, 45 * 60, 60 * 60, 120 * 60]), recurrenceDistribution=RecurrenceDistribution(False), ): self.enabled = enabled self._sendInvitationDistribution = sendInvitationDistribution self._inviteeDistribution = inviteeDistribution self._inviteeClumping = inviteeClumping self._inviteeCountDistribution = inviteeCountDistribution self._eventStartDistribution = eventStartDistribution self._eventDurationDistribution = eventDurationDistribution self._recurrenceDistribution = recurrenceDistribution