scheduler

package
Version: v0.0.0-...-b16b3cf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventScheduler

type EventScheduler struct {
	// contains filtered or unexported fields
}

EventSchedule takes parameters of an event and estimates the run time of an event

func (EventScheduler) EstimateRoundEntries

func (event EventScheduler) EstimateRoundEntries() ([]int, error)

func (EventScheduler) EstimateRounds

func (event EventScheduler) EstimateRounds() (int, error)

func (EventScheduler) EstimateRuntime

func (event EventScheduler) EstimateRuntime() (int, error)

EstimateRuntime estimates the total time to run this event and return the number of minutes and an error (if happens)

func (*EventScheduler) SetDanceDuration

func (event *EventScheduler) SetDanceDuration(seconds int) error

func (*EventScheduler) SetFloorCapacity

func (event *EventScheduler) SetFloorCapacity(capacity int) error

func (*EventScheduler) SetRecallRate

func (event *EventScheduler) SetRecallRate(rate int) error

func (*EventScheduler) SetTargetFinalSize

func (event *EventScheduler) SetTargetFinalSize(target int) error

func (*EventScheduler) SetTotalDances

func (event *EventScheduler) SetTotalDances(dances int) error

func (*EventScheduler) SetTotalEntries

func (event *EventScheduler) SetTotalEntries(entries int) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL