scheduler

package
v0.0.0-...-99b79bc Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL